Skip to content

Instantly share code, notes, and snippets.

@reekotubbs
reekotubbs / designer.html
Created November 6, 2014 23:32
designer
<link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="../bower_components/core-ajax/core-ajax.html">
<polymer-element name="test-element" attributes="q">
<template>
<core-ajax auto url="http://gdata.youtube.com/feeds/api/videos/"
params='{"alt":"json", "q":"{{q}}"}'
handleAs="json" response="{{response}}"></core-ajax>
<template repeat="{{response.feed.entry}}">
<div>{{title.$t}}</div>
@reekotubbs
reekotubbs / designer.html
Last active August 29, 2015 14:08
designer
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#core_header_panel {
width: 100%;
@reekotubbs
reekotubbs / designer.html
Last active August 29, 2015 14:08
designer
<!--<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<link href="../core-animated-pages/core-animated-pages.html" rel="import">
<link href="../core-animated-pages/transitions/hero-transition.html" rel="import">
<link href="../core-animated-pages/transitions/cross-fade.html" rel="import">
<link href="../core-animated-pages/transitions/slide-down.html" rel="import">
<link href="../core-animated-pages/transitions/slide-up.html" rel="import">
<link href="../core-animated-pages/transitions/tile-cascade.html" rel="import">-->
<link href="../components/core-animated-pages/core-animated-pages.html" rel="import">
@reekotubbs
reekotubbs / undefined
Last active August 29, 2015 14:08
designer
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#core_header_panel {
width: 300px;