##// 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
BarMixin.ts
17 lines | 292 B | video/mp2t | TypeScriptLexer
import { djclass, djbase } from "../declare";
interface Super {
writeHello(out: string[]): void;
}
@djclass
export class BarMixin extends djbase<Super>() {
writeHello(out: string[]) {
out.push("-> Bar");
super.writeHello(out);
out.push("<- Bar");
}
}