Optional
forceXWhether to force the X position of the menu.
Setting to true
will disable the logic which repositions the
X coordinate of the menu if it will not fit entirely on screen.
The default is false
.
Optional
forceYWhether to force the Y position of the menu.
Setting to true
will disable the logic which repositions the
Y coordinate of the menu if it will not fit entirely on screen.
The default is false
.
Optional
hostThe DOM node to use as the menu's host.
If not specified then uses document.body
.
Optional
refThe child of host
to use as the reference element.
If this is provided, the menu will be inserted before this
node in the host. The default is null
, which will cause the
menu to be added as the last child of the host.
An options object for the
open
method on a menu.