Skip to content

Instantly share code, notes, and snippets.

Avatar

Aluan Haddad aluanhaddad

View GitHub Profile
@aluanhaddad
aluanhaddad / app.html
Last active Dec 2, 2017 — forked from davismj/app.html
Test: Upload custom element
View app.html
<template>
<require from="upload"></require>
<main style="padding: 1rem;">
<dl>
<dt>Behaves like a vanilla button.</dt>
<dd>
<upload file.bind="f1">Upload</upload>
<span if.bind="f1">${f1.name} selected</span>
</dd>
@aluanhaddad
aluanhaddad / app.html
Created Dec 2, 2017 — forked from davismj/app.html
Test: Upload custom element
View app.html
<template>
<require from="upload"></require>
<main style="padding: 1rem;">
<dl>
<dt>Behaves like a vanilla button.</dt>
<dd>
<upload file.bind="f1">Upload</upload>
<span if.bind="f1">${f1.name} selected</span>
</dd>