Add event system
This commit is contained in:
parent
29e1546eb2
commit
5a87d2db71
15 changed files with 151 additions and 92 deletions
10
src/framework/page-event.ts
Normal file
10
src/framework/page-event.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export class PageEvent {
|
||||
type: PageEventType;
|
||||
data?: any;
|
||||
}
|
||||
|
||||
export enum PageEventType {
|
||||
onLoad,
|
||||
onBodyDimensionsChanged,
|
||||
eventGeneratorChanged
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue