Skip to content

Instantly share code, notes, and snippets.

@paralin
Created July 3, 2014 22:44
Show Gist options
  • Save paralin/96a6032ff6901473a2dc to your computer and use it in GitHub Desktop.
Save paralin/96a6032ff6901473a2dc to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../notification-elements/notification-alert.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#notification_alert {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
</style>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment