當前位置: 首頁>>代碼示例>>TypeScript>>正文


TypeScript Event.clean方法代碼示例

本文整理匯總了TypeScript中tinymce/core/dom/EventUtils.Event.clean方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript Event.clean方法的具體用法?TypeScript Event.clean怎麽用?TypeScript Event.clean使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在tinymce/core/dom/EventUtils.Event的用法示例。


在下文中一共展示了Event.clean方法的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.clean方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。