##// END OF EJS Templates
implemented @on("event-name") decorator for event handlers
implemented @on("event-name") decorator for event handlers

File last commit:

r65:8ac132c83639 default
r73:fdde09e66c00 v1.2.0 default
Show More
FooMixin.ts
15 lines | 290 B | video/mp2t | TypeScriptLexer
import { djclass, djbase } from "../declare";
interface Super {
writeHello(out: string[]): void;
}
@djclass
export class FooMixin extends djbase<Super>() {
writeHello(out: string[]) {
out.push("-> Foo");
super.writeHello(out);
out.push("<- Foo");
}
}