本文整理汇总了TypeScript中tinymce/core/dom/EventUtils.Event类的典型用法代码示例。如果您正苦于以下问题:TypeScript Event类的具体用法?TypeScript Event怎么用?TypeScript Event使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Event类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的TypeScript代码示例。
示例1: function
const createPanel = function (settings) {
EventUtils.Event.clean(viewBlock.get());
viewBlock.update('');
return Factory.create(Tools.extend({
type: 'panel'
}, settings)).renderTo(viewBlock.get()).reflow();
};
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:8,代码来源:PanelTest.ts
示例2: function
const createColorButton = function (settings) {
EventUtils.Event.clean(viewBlock.get());
viewBlock.update('');
return Factory.create(Tools.extend({
type: 'colorbutton'
}, settings)).renderTo(viewBlock.get());
};
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:8,代码来源:ColorButtonTest.ts
示例3: function
const createFitPanel = function (settings) {
EventUtils.Event.clean(viewBlock.get());
viewBlock.update('');
return Factory.create(Tools.extend({
type: 'panel',
layout: 'fit',
width: 200,
height: 200,
border: 1
}, settings)).renderTo(viewBlock.get()).reflow();
};
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:12,代码来源:FitLayoutTest.ts
示例4: function
const createTabPanel = function (settings) {
EventUtils.Event.clean(viewBlock.get());
viewBlock.update('');
return Factory.create(Tools.extend({
type: 'tabpanel',
items: [
{ title: 'a', type: 'spacer', classes: 'red' },
{ title: 'b', type: 'spacer', classes: 'green' },
{ title: 'c', type: 'spacer', classes: 'blue' }
]
}, settings)).renderTo(viewBlock.get()).reflow();
};
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:13,代码来源:TabPanelTest.ts
示例5: function
const createMenuButton = function (settings) {
EventUtils.Event.clean(viewBlock.get());
viewBlock.update('');
return Factory.create(Tools.extend({
type: 'menubutton',
menu: [
{ text: '1' },
{ text: '2' },
{ text: '3' }
]
}, settings)).renderTo(viewBlock.get());
};
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:13,代码来源:MenuButtonTest.ts
示例6: function
const renderGridPanel = function (settings) {
EventUtils.Event.clean(viewBlock.get());
viewBlock.update('');
const panel = Factory.create(Tools.extend({
type: 'panel',
layout: 'grid',
defaults: { type: 'spacer' }
}, settings)).renderTo(viewBlock.get()).reflow();
resetScroll(panel.getEl('body'));
return panel;
};
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:14,代码来源:GridLayoutTest.ts
示例7: function
const renderPanel = function (settings) {
EventUtils.Event.clean(viewBlock.get());
viewBlock.update('');
const panel = Factory.create(Tools.extend({
type: 'panel',
layout: 'flex',
width: 200, height: 200,
items: [
{ type: 'spacer', classes: 'red' },
{ type: 'spacer', classes: 'green' },
{ type: 'spacer', classes: 'blue' }
]
}, settings)).renderTo(viewBlock.get()).reflow();
resetScroll(panel.getEl('body'));
return panel;
};
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:19,代码来源:FlexLayoutTest.ts
示例8: function
Pipeline.async({}, suite.toSteps({}), function () {
EventUtils.Event.clean(viewBlock.get());
viewBlock.detach();
success();
}, failure);
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:5,代码来源:AbsoluteLayoutTest.ts
示例9: function
const teardown = function () {
EventUtils.Event.clean(viewBlock.get());
viewBlock.update('');
};
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:4,代码来源:TextBoxTest.ts
示例10: function
Pipeline.async({}, suite.toSteps({}), function () {
EventUtils.Event.clean(viewBlock.get());
DOMUtils.DOM.remove(DOMUtils.DOM.get('mce-modal-block'));
viewBlock.detach();
success();
}, failure);
开发者ID:aha-app,项目名称:tinymce-word-paste-filter,代码行数:6,代码来源:WindowTest.ts
注:本文中的tinymce/core/dom/EventUtils.Event类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论