OTRS API Reference JavaScript

Namespace: Core.UI.Resizable

Core.UI. Resizable

Contains the code for resizable elements.
Author:
  • OTRS AG

Methods

(static) Init($Element, ScrollerHeight, Callback)

This function initializes the resizability of the given element.
Parameters:
Name Type Description
$Element jQueryObject jQuery object of the element, which should be resizable.
ScrollerHeight Number The default height of the resizable object.
Callback function The callback if resizable has changed.

Type Definitions

Callback(Event, UI, Height, Width)

Parameters:
Name Type Description
Event EventObject The javascript event object.
UI Object The jQuery UI object.
Height String Height of the resizable object.
Width String Width of the resizable object.