Last active
August 29, 2015 14:06
-
-
Save azza85/c3f0753a3dfc5491a47d to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-ajax/core-ajax.html"> | |
<polymer-element name="my-element"> | |
<polymer-element name="test-view" attributes="url"> | |
<template> | |
<core-ajax auto url="{{url}}" handleAs="json" response="{{response}}"></core-ajax> | |
<div id="body"></div> | |
</template> | |
<script> | |
Polymer({ | |
responseChanged: function(oldValue) { | |
console.log(this.response); | |
} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment