PHP Classes

File: WITheme/WICMS/admin/js/plugins/textEditor/tinymce_4.2.6_dev/tinymce/tools/docs/tinymce.ResizeEvent.js

Recommend this page to a friend!
  Classes of Jules Warner   WICMS   WITheme/WICMS/admin/js/plugins/textEditor/tinymce_4.2.6_dev/tinymce/tools/docs/tinymce.ResizeEvent.js   Download  
File: WITheme/WICMS/admin/js/plugins/textEditor/tinymce_4.2.6_dev/tinymce/tools/docs/tinymce.ResizeEvent.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WICMS
Database driven content management system with PDO
Author: By
Last change:
Date: 7 years ago
Size: 758 bytes
 

Contents

Class file image Download
/** * This class is the event object sent when objects gets resized within the editor. * * @class tinymce.ResizeEvent * @extends tinymce.Event * @example * tinymce.activeEditor.on('ObjectResizeStart', function(e) { * if (e.target.nodeName == 'IMG') { * // Prevent resize * e.preventDefault(); * } * }); * * tinymce.activeEditor.on('ObjectResized', function(e) { * console.log(e.target, e.width, e.height); * }); */ /** * Current element that is to be resized or has been resized. * * @property {DOMElement} target */ /** * Current width of the object before or after resize. * * @property {Number} width */ /** * Current height of the object before or after resize. * * @property {Number} height */