##// END OF EJS Templates
Added tag v1.0.0-rc13 for changeset b88fac0e76c0
Added tag v1.0.0-rc13 for changeset b88fac0e76c0

File last commit:

r28:b88fac0e76c0 v1.0.0-rc13 default
r29:4ee49203288d default
Show More
MyWidget.tsx
22 lines | 443 B | text/x-typescript | TypeScriptLexer
import { djbase, djclass, bind, prototype } from "../declare";
import { DjxWidgetBase } from "../tsx/DjxWidgetBase";
import { createElement } from "../tsx";
@djclass
export class MyWidget extends djbase(DjxWidgetBase) {
@bind({node: "titleNode", type:"innerHTML"})
title = "";
@prototype()
counter = 0;
render() {
return <div>
<h1 data-dojo-attach-point="titleNode"></h1>
</div>;
}
}