Last active
August 29, 2015 14:05
-
-
Save gvidon/e6b03c261dbe0d190b93 to your computer and use it in GitHub Desktop.
External call of component method
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
<body> | |
<tasks-list></tasks-list> | |
<script>window.addEventListener('polymer-ready', function() { | |
document.querySelector('tasks-list').reset(new Backbone.Collection([ | |
{title: 'Minification deployment script'}, | |
{title: 'Refine Vagrantfile'}, | |
{title: 'Fix header markup'} | |
])) | |
})</script> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment