detachable([detachable])

Class: ToolBar.

Description:

Sets of gets whether the ToolBar can be detached from the Window it was added to.

Parameters:

Name Type Description

[detachable]

boolean

true to enable detaching, false to disable.

Returns:

If no parameters were passed, current value is returned, otherwise this Toolbar component is returned for method chaining.

Type: boolean | ToolBar