Skip to content

Instantly share code, notes, and snippets.

@janbiasi
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janbiasi/fee3e3be6a232c6fad74 to your computer and use it in GitHub Desktop.
Save janbiasi/fee3e3be6a232c6fad74 to your computer and use it in GitHub Desktop.
<link rel="import" href="/racks/elements/racks.html">
<racks-element name="my-tag">
<style>
:host {
display: block;
}
</style>
<template>
<content></content>
</template>
<script>
Racks('my-tag', {
created: function(self) {
// After shadow-dom creation
},
domReady: function() {
// Triggered at $(document).ready
}
});
</script>
</racks-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment