antosdk-apps/Antedit/extensions/EditorExtensionMaker/main.tpl
2021-04-18 18:49:53 +02:00

19 lines
420 B
Smarty

(function() {
// import the CodePad application module
const App = this.OS.application.Antedit;
// define the extension
App.extensions.{0} = class {0} extends App.EditorBaseExtension {
constructor(app) {
super("{0}",app);
}
test() {
return this.notify("Test action is invoked");
}
cleanup() {}
};
}).call(this);