AnimationTool/app/page.ts

11 lines
225 B
TypeScript
Raw Normal View History

2019-09-25 00:01:54 +00:00
export class Page {
public Load() {
2019-09-25 00:42:35 +00:00
const thing = document.getElementById('thing') as HTMLElement;
thing.innerHTML = '<p>mememememe</p>';
thing.onclick = (e) => {
thing.innerHTML = '<p>blahblahblah</p>';
};
2019-09-25 00:01:54 +00:00
}
}