FilesWidget
Defined in: src/widgets/specialized.ts:27
File browser widget
Extends
Constructors
Constructor
new FilesWidget(
dart):FilesWidget
Defined in: src/widgets/base.ts:391
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
FilesWidget
Inherited from
Properties
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|---|---|---|---|---|---|---|
_functions | protected | Func[] | [] | - | DartWidget._functions | src/widgets/base.ts:243 |
_properties | protected | Property[] | [] | - | DartWidget._properties | src/widgets/base.ts:242 |
_root | protected | HTMLElement | undefined | - | DartWidget._root | src/widgets/base.ts:241 |
dart | public | any | undefined | - | DartWidget.dart | src/widgets/base.ts:246 |
factory | public | Func | null | null | Constructor function. No parameters, returns [Widget]. | DartWidget.factory | src/widgets/base.ts:239 |
isDetached | public | boolean | false | - | DartWidget.isDetached | src/widgets/base.ts:247 |
props | public | any | undefined | - | DartWidget.props | src/widgets/base.ts:244 |
subs | public | Subscription[] | undefined | - | DartWidget.subs | src/widgets/base.ts:245 |
temp | public | any | undefined | Contains auxiliary information | DartWidget.temp | src/widgets/base.ts:236 |
Accessors
children
Get Signature
get children():
Widget<any>[]
Defined in: src/widgets/base.ts:320
Parent widget up the DOM tree, or null.
Returns
Widget<any>[]
Inherited from
parent
Get Signature
get parent():
Widget<any> |null
Defined in: src/widgets/base.ts:317
Parent widget up the DOM tree, or null.
Returns
Widget<any> | null
Inherited from
root
Get Signature
get root():
HTMLElement
Defined in: src/widgets/base.ts:398
Widget's visual root.
Returns
HTMLElement
Inherited from
type
Get Signature
get type():
string
Defined in: src/widgets/base.ts:397
Returns
string
Inherited from
Methods
apply()
apply(
properties):Widget
Defined in: src/widgets/base.ts:284
Parameters
| Parameter | Type | Description |
|---|---|---|
properties | object | - |
Returns
Inherited from
detach()
detach():
void
Defined in: src/widgets/base.ts:329
Gets called when a widget is detached and will no longer be used. Typically used for unsubscribing from events. Be sure to call super.detach() if this method is overridden.
Returns
void
Inherited from
getDartProperties()
getDartProperties():
any[]
Defined in: src/widgets/base.ts:305
Returns
any[]
Inherited from
getFunctions()
getFunctions():
Func[]
Defined in: src/widgets/base.ts:400
Functions that are applicable to this particular widget. Used in the UI to display context actions, and for the AI integrations.
Returns
Func[]
Inherited from
getProperties()
getProperties():
Property[]
Defined in: src/widgets/base.ts:399
Returns all properties of this widget.