##// END OF EJS Templates
bind event handler methods marked with `@on` before subscribing the event
bind event handler methods marked with `@on` before subscribing the event

File last commit:

r65:8ac132c83639 default
r77:bc7556143fe5 v1.2.2 default
Show More
BoxMixin.ts
16 lines | 291 B | video/mp2t | TypeScriptLexer
import { djbase, djclass } from "../declare";
interface Super {
writeHello(out: string[]): void;
}
@djclass
export class BoxMixin extends djbase<Super>() {
writeHello(out: string[]) {
out.push("-> Box");
super.writeHello(out);
out.push("<- Box");
}
}