antosdk-apps/SVGEdit/main.ts

20 lines
576 B
TypeScript
Raw Normal View History

2023-08-17 23:54:41 +02:00
namespace OS {
export namespace application {
/**
*
* @class SVGEdit
* @extends {BaseApplication}
*/
export class SVGEdit extends BaseApplication {
constructor(args: AppArgumentsType[]) {
super("SVGEdit", args);
}
main(): void {
// set iframe data
const index_page = 'pkg://SVGEdit/svgedit/index.html'.asFileHandle().getlink();
this.find<HTMLIFrameElement>("container").src = index_page;
}
}
}
}