Extends
Constructor
new ve.ce.MWResizableNode([$resizable], [config])abstract
#
ContentEditable MediaWiki resizable node.
Methods
getAttributeChanges(width, height) → {Object}
#
Generate an object of attributes changes from the new width and height.
If either property changes, clear the defaultSize flag.
Parameters:
Name | Type | Description |
---|---|---|
width |
number | New image width |
height |
number | New image height |
- Source:
Returns:
Attribute changes
- Type
- Object
Generate an object of attributes changes from the new width and height.