Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Gist-powered example

You can make examples from a gist. This text comes from the file, while any *.html files will be turned into components. Any code in the (required) main.js file is evaluated.

Component dependencies are pulled in from npm via

<button on-tap='activate()'>click me!</button>
button {
background-color: #d00;
color: white;
font-size: 2em;
padding: 1em;
border-radius: 0.2em;
component.exports = {
activate: function () {
alert( 'activating!' );
events: {
tap: require( 'ractive-events-tap' )
var ractive = new BigButton({
el: demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment