Skip to content

Instantly share code, notes, and snippets.

@JanMiksovsky
Created June 3, 2013 16:43
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 JanMiksovsky/5699472 to your computer and use it in GitHub Desktop.
Save JanMiksovsky/5699472 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="../../tools/polymer/polymer.js"></script>
<element name="test-element">
<template>
<style>
button {
padding: 1em;
}
</style>
<button>
<content></content>
</button>
</template>
<script>
Polymer.register( this );
</script>
</element>
</head>
<body>
<test-element>Only my padding is clickable</test-element>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment