import MediaResize from 'ceo-core/application/components/common/rich-editor/media-resize.js'
MediaResize
Extends:
react~React.Component → BaseView → MediaResize
MediaResize component handles the draggable resizing of media blocks. This does not update media block meta, but sends the data to a callback.
Constructor Summary
Public Constructor | ||
public |
constructor(props: *) |
Member Summary
Public Members | ||
public |
|
|
public |
state: * |
Method Summary
Public Methods | ||
public |
Set initial width and height if provided by properties |
|
public |
|
|
public |
handleResize(e: *, data: *) Handle resize event. |
|
public |
render(): * |
|
public |
setSize() Callback to set initial size if not set. |
Inherited Summary
From class BaseView | ||
public |
getChildContext(): * |
Public Constructors
public constructor(props: *) source
Params:
Name | Type | Attribute | Description |
props | * |