bmh_cesium/public/widgets/_example_append/widget.js
2025-03-10 07:23:50 +08:00

41 lines
696 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//此方式弹窗非iframe模式
xjsdk.widget.bindClass(xjsdk.widget.BaseWidget.extend({
options: {
resources: [
'view.css'
],
//弹窗
view: {
type: "append",
url: "view.html"
},
},
//初始化[仅执行1次]
create: function () {
},
//每个窗口创建完成后调用
winCreateOK: function (opt, result) {
//此处可以绑定页面dom事件
},
//激活插件
activate: function () {
toastr.info('激活插件_example_append');
},
//释放插件
disable: function () {
toastr.info('释放插件_example_append');
},
}));