Accordion
Accordion control with collapsible/expandable panes. Samples: https://public.datagrok.ai/js/samples/ui/accordion
Extends
Constructors
new Accordion()
new Accordion(
dart):Accordion
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Overrides
Constructs
Accordion
Source
Properties
| Property | Modifier | Type | Default value | Description | Inherited from |
|---|---|---|---|---|---|
_functions | protected | Func[] | [] | - | DartWidget._functions |
_properties | protected | Property[] | [] | - | DartWidget._properties |
_root | protected | HTMLElement | undefined | - | DartWidget._root |
dart | public | any | undefined | - | DartWidget.dart |
factory | public | null | Func | null | Constructor function. No parameters, returns [Widget]. | DartWidget.factory |
isDetached | public | boolean | false | - | DartWidget.isDetached |
props | public | any | undefined | - | DartWidget.props |
subs | public | Subscription[] | undefined | - | DartWidget.subs |
temp | public | any | undefined | Contains auxiliary information | DartWidget.temp |
Accessors
autoHideTabHeader
getautoHideTabHeader():boolean
Whether tab header should be hidden if there is only one tab
setautoHideTabHeader(x):void
Parameters
| Parameter | Type |
|---|---|
x | boolean |
Returns
boolean
Source
children
getchildren():Widget<any>[]
Parent widget up the DOM tree, or null.
Returns
Widget<any>[]
Source
context
getcontext():any
An object this accordion is associated with
setcontext(x):void
Parameters
| Parameter | Type |
|---|---|
x | any |
Returns
any
Source
header
getheader():HTMLElement
Header element on top of the accordion
setheader(header):void