PHP Classes

File: public/js/tinymce/src/themes/modern/src/main/js/api/ThemeApi.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/themes/modern/src/main/js/api/ThemeApi.js   Download  
File: public/js/tinymce/src/themes/modern/src/main/js/api/ThemeApi.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GoLavaCMS
Publish content on Web pages with SEO support
Author: By
Last change:
Date: 6 years ago
Size: 1,315 bytes
 

Contents

Class file image Download
/** * ThemeApi.js * * Released under LGPL License. * Copyright (c) 1999-2016 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ define( 'tinymce.themes.modern.api.ThemeApi', [ 'tinymce.themes.modern.ui.Render', 'tinymce.themes.modern.ui.Resize', 'tinymce.ui.NotificationManagerImpl', 'tinymce.ui.WindowManagerImpl' ], function (Render, Resize, NotificationManagerImpl, WindowManagerImpl) { var get = function (editor) { var renderUI = function (args) { return Render.renderUI(editor, this, args); }; var resizeTo = function (w, h) { return Resize.resizeTo(editor, w, h); }; var resizeBy = function (dw, dh) { return Resize.resizeBy(editor, dw, dh); }; var getNotificationManagerImpl = function () { return NotificationManagerImpl(editor); }; var getWindowManagerImpl = function () { return WindowManagerImpl(editor); }; return { renderUI: renderUI, resizeTo: resizeTo, resizeBy: resizeBy, getNotificationManagerImpl: getNotificationManagerImpl, getWindowManagerImpl: getWindowManagerImpl }; }; return { get: get }; } );