Skip to content

Instantly share code, notes, and snippets.

@mbroadst
Last active August 29, 2015 14:20
Show Gist options
  • Save mbroadst/b2e4c8c7b0ca7ea6cf4b to your computer and use it in GitHub Desktop.
Save mbroadst/b2e4c8c7b0ca7ea6cf4b to your computer and use it in GitHub Desktop.
<template>
<div class="field">Test: ${myattr}</div>
</template>
import {bindable} from 'aurelia-framework';
export class MyElement {
@bindable myattr;
};
<template>
<section>
<require from="my-element"></require>
<my-element myattr.bind="'Something!'"></my-element>
</section>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment