Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { observable } from 'aurelia-framework';
- export class Car {
- @observable color = {rgb: '', hex: ''};
- colorChanged(newValue, oldValue) {
- // this will fire whenever the 'color' property changes
- }
- }
- import {bindable, bindingMode} from 'aurelia-framework';
- export class SecretMessageCustomElement {
- @bindable data;
- dataChanged () {
- // -------
- }
- }
Add Comment
Please, Sign In to add comment