class type statics =Inheritsobject
..end
method from : 'a 'b. 'a Js.t -> 'b Js.t Js.meth
Creates a Region from a "box" Object which contains four numeric properties top
, right
, bottom
and left
.
Parameters:
_ Js.t
An object with top
, right
, bottom
and left
properties.
Returns:
Ext_util_Region.t Js.t
region The Region constructed based on the passed object
method getRegion : 'c 'd. 'c Js.t -> 'd Js.t Js.meth
Retrieves an Ext.util.Region for a particular element.
Parameters:
_ Js.t
An element ID, htmlElement or Ext.Element representing an element in the document.
Returns:
Ext_util_Region.t Js.t
region