antosdk-apps/SVGEdit/main.ts
DanyLE 4a62c4d1cf
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good
add SVGEdit package
2023-08-17 23:54:41 +02:00

20 lines
576 B
TypeScript

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;
}
}
}
}