Skip to main content

TableView

A View that is associated with a DataFrame and exposes exploratory data analysis functionality. This view gets opened whenever a new table is added to the workspace when a user drag-and-drops a CSV file, or opens a table in any other way.

Extends

Constructors

new TableView()

new TableView(dart): TableView

Parameters

ParameterType
dartany

Returns

TableView

Overrides

View . constructor

Constructs

TableView

Source

src/views/view.ts:384

Properties

PropertyModifierTypeDefault valueDescriptionInherited from
_functionsprotectedFunc[][]-View._functions
_nameprotectedstring'New View'-View._name
_propertiesprotectedProperty[][]-View._properties
_rootprotectedHTMLElementundefined-View._root
dartpublicanyundefined-View.dart
factorypublicnull | FuncnullConstructor function. No parameters, returns [Widget].View.factory
isDetachedpublicbooleanfalse-View.isDetached
propspublicanyundefined-View.props
subspublicSubscription[]undefined-View.subs
temppublicanyundefinedContains auxiliary informationView.temp
ALL_VIEW_TYPESreadonlystring[]...-View.ALL_VIEW_TYPES
APPSreadonly"apps"'apps'-View.APPS
BROWSEreadonly"browse"'browse'-View.BROWSE
DATABASESreadonly"databases"'databases'-View.DATABASES
DATA_CONNECTIONSreadonly"connections"'connections'-View.DATA_CONNECTIONS
DATA_JOB_RUNSreadonly"jobs"'jobs'-View.DATA_JOB_RUNS
DATA_QUERY_RUNSreadonly"queryruns"'queryruns'-View.DATA_QUERY_RUNS
DOCKERSreadonly"dockers"'dockers'-View.DOCKERS
EMAILSreadonly"emails"'emails'-View.EMAILS
FILESreadonly"files"'files'-View.FILES
FORUMreadonly"forum"'forum'-View.FORUM
FUNCTIONSreadonly"functions"'functions'-View.FUNCTIONS
GROUPSreadonly"groups"'groups'-View.GROUPS
HELPreadonly"help"'help'-View.HELP
JS_EDITORreadonly"js"'js'-View.JS_EDITOR
MODELSreadonly"models"'models'-View.MODELS
NOTEBOOKSreadonly"notebooks"'notebooks'-View.NOTEBOOKS
OPEN_TEXTreadonly"text"'text'-View.OPEN_TEXT
PACKAGESreadonly"packages"'packages'-View.PACKAGES
PACKAGE_REPOSITORIESreadonly"repositories"'repositories'-View.PACKAGE_REPOSITORIES
PROJECTSreadonly"projects"'projects'-View.PROJECTS
QUERIESreadonly"queries"'queries'-View.QUERIES
SCRIPTreadonly"script"'script'-View.SCRIPT
SCRIPTSreadonly"scripts"'scripts'-View.SCRIPTS
SETTINGSreadonly"settings"'settings'-View.SETTINGS
SKETCHreadonly"sketch"'sketch'-View.SKETCH
USERSreadonly"users"'users'-View.USERS
VIEW_LAYOUTSreadonly"layouts"'layouts'-View.VIEW_LAYOUTS
WEB_SERVICESreadonly"webservices"'webservices'-View.WEB_SERVICES
WELCOMEreadonly"welcome"'welcome'-View.WELCOME

Accessors

basePath

get basePath(): string

Deprecated

use path instead

set basePath(s): void

Parameters

ParameterType
sstring

Returns

string

Source

src/views/view.ts:126


box

get box(): boolean

set box(b): void

Parameters

ParameterType
bboolean

Returns

boolean

Source

src/views/view.ts:74


children

get children(): Widget<any>[]

Parent widget up the DOM tree, or null.

Returns

Widget<any>[]

Source

src/widgets.ts:293


closing

get closing(): boolean

Whether the view is currently closing.

set closing(c): void

Parameters

ParameterType
cboolean

Returns

boolean

Source

src/views/view.ts:144


dataFrame

get dataFrame(): DataFrame

set dataFrame(x): void

Parameters

ParameterType
xDataFrame

Returns

DataFrame

Source

src/views/view.ts:410


description

get description(): string

View description. Used in UI and AI.

set description(s): void

Parameters

ParameterType
sstring

Returns

string

Source

src/views/view.ts:280


dockManager

get dockManager(): DockManager

View's dock manager. Only defined for DockView descendants such as TableView, UsersView, etc.

Returns

DockManager

Source

src/views/view.ts:441


dockNode

get dockNode(): DockNode

A dock node for this view. Use grok.shell.dockManager to manipulate it; dockManager is for controlling windows that reside inside this view.

Returns

DockNode

Source

src/views/view.ts:434


entity

get entity(): null | object

set entity(_e): void

Parameters

ParameterType
_enull | object

Returns

null | object

Source

src/views/view.ts:122


grid

get grid(): Grid

Associated grid (spreadsheet).

Returns

Grid

Source

src/views/view.ts:403


helpUrl

get helpUrl(): null | string

set helpUrl(url): void

Parameters

ParameterType
urlnull | string

Returns

null | string

View help URL.

Source

src/views/view.ts:284


id

get id(): string

Returns

string

Source

src/views/view.ts:275


isPinned

get isPinned(): boolean

Returns

boolean

Whether the view is pinned. Pinned views are not closed when a new view is opened.

Source

src/views/view.ts:288


name

get name(): string

View name. It gets shown in the tab handle.

set name(s): void

Parameters

ParameterType
sstring

Returns

string

Source

src/views/view.ts:319


parent

get parent(): null | Widget<any>

Parent widget up the DOM tree, or null.

Returns

null | Widget<any>

Source

src/widgets.ts:290


parentCall

get parentCall(): undefined | FuncCall

set parentCall(s): void

Parameters

ParameterType
sundefined | FuncCall

Returns

undefined | FuncCall

Source

src/views/view.ts:113


parentView

get parentView(): ViewBase

set parentView(s): void

Parameters

ParameterType
sViewBase

Returns

ViewBase

Source

src/views/view.ts:116


path

get path(): string

View URI, relative to the view root

set path(s): void

Parameters

ParameterType
sstring

Returns

string

Source

src/views/view.ts:171


ribbonMenu

get ribbonMenu(): Menu

View menu. Sample: https://public.datagrok.ai/js/samples/ui/views/ribbon

set ribbonMenu(menu): void

Parameters

ParameterType
menuMenu

Returns

Menu

Source

src/views/view.ts:136


root

get root(): HTMLElement

Returns the content (visual root) of this view.

Returns

HTMLElement

Source

src/views/view.ts:267


statusBarPanels

get statusBarPanels(): HTMLDivElement[]

Status bar panels to be shown on the bottom

set statusBarPanels(panels): void

Parameters

ParameterType
panelsHTMLDivElement[]

Returns

HTMLDivElement[]

Source

src/views/view.ts:140


syncCurrentObject

get syncCurrentObject(): boolean

set syncCurrentObject(x): void

Parameters

ParameterType
xboolean

Returns

boolean

Source

src/views/view.ts:631


table

get table(): null | DataFrame

Associated table, if it exists (for TableView), or null.

set table(df): void

Parameters

ParameterType
dfnull | DataFrame

Returns

null | DataFrame

Source

src/views/view.ts:394


toolbox

get toolbox(): HTMLElement

View toolbox. Sample: https://public.datagrok.ai/js/samples/ui/views/toolbox

set toolbox(x): void

Parameters

ParameterType
xHTMLElement

Returns

HTMLElement

Source

src/views/view.ts:131


toolboxPage

get toolboxPage(): ToolboxPage

View toolbox that gets shown on the left, in the sidebar

Returns

ToolboxPage

Source

src/views/view.ts:414


type

get type(): string

View type

Returns

string

Source

src/views/view.ts:271


viewers

get viewers(): Iterable <Viewer<any>>

Returns all viewers.

Returns

Iterable <Viewer<any>>

Source

src/views/view.ts:627

Methods

_onAdded()

_onAdded(): void

Returns

void

Inherited from

View . _onAdded

Source

src/views/view.ts:332


acceptsPath()

acceptsPath(_urlPath): boolean

Checks if URL path is acceptable. Override in subclasses.

Parameters

ParameterType
_urlPathstring

Returns

boolean

"true" if path is acceptable, "false" otherwise.

Inherited from

View . acceptsPath

Source

src/views/view.ts:179


addProperty()

private addProperty(propertyName, propertyType, defaultValue, options): any

Registers an property with the specified type, name, and defaultValue.

Parameters

ParameterTypeDefault valueDescription
propertyNamestringundefined
propertyType"string" | "bigint" | "object" | "map" | "file" | "view" | "blob" | "int" | "double" | "bool" | "byte_array" | "datetime" | "qnum" | "dataframe" | "num" | "string_list" | "dataframe_list" | "cell" | "column" | "column_list" | "graphics" | "tablerowfiltercall" | "colfiltercall" | "bitset" | "dynamic" | "viewer" | "list" | "semantic_value" | "func" | "funccall" | "property" | "categorical" | "numerical" | "GridCellRenderArgs" | "element" | "TableView" | "User" | "Menu" | "Project" | "event_data" | "progressindicator" | "Credentials" | "ScriptEnvironment" | "Notebook"undefined
defaultValueanynull
optionsnull | object & IPropertynull

Returns

any

Inherited from

View . addProperty

See

Registered property gets added to properties. Returns default value, thus allowing to combine registering a property with the initialization

Source

src/widgets.ts:318


addViewer()

addViewer(v, options?): Viewer<any>

Adds a viewer of the specified type.

Parameters

ParameterType
vstring | Viewer<any>
options?any

Returns

Viewer<any>

Source

src/views/view.ts:419


append()

append(item): HTMLElement

Appends an item to this view. Use appendAll for appending multiple elements.

Parameters

ParameterTypeDescription
itemany

Returns

HTMLElement

Inherited from

View . append

Source

src/views/view.ts:184


appendAll()

appendAll(items): HTMLElement

Appends multiple elements this view. Use append for appending a single element.

Parameters

ParameterTypeDescription
itemsHTMLElement[]

Returns

HTMLElement

Inherited from

View . appendAll

Source

src/views/view.ts:191


apply()

apply(properties): Widget<any>

Parameters

ParameterTypeDescription
propertiesobject

Returns

Widget<any>

Inherited from

View . apply

Source

src/widgets.ts:257


barChart()

barChart(options?): Viewer<any>

deprecated: use addViewer(Viewer.barChart(options)) Adds a bar chart. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/bar-chart

Parameters

ParameterType
options?Partial <IBarChartSettings>

Returns

Viewer<any>

Source

src/views/view.ts:456


boxPlot()

boxPlot(options?): Viewer<any>

deprecated: use addViewer(Viewer.boxPlot(options)) Adds a box plot. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/box-plot

Parameters

ParameterType
options?Partial <IBoxPlotSettings>

Returns

Viewer<any>

Source

src/views/view.ts:463


calendar()

calendar(options?): Viewer<any>

deprecated: use addViewer(Viewer.calendar(options)) Adds a calendar. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/calendar

Parameters

ParameterTypeDescription
options?Partial <ICalendarSettings>

Returns

Viewer<any>

Source

src/views/view.ts:472


close()

close(): void

Closes this view.

Returns

void

Inherited from

View . close

Source

src/views/view.ts:201


corrPlot()

corrPlot(options?): Viewer<any>

deprecated: use addViewer(Viewer.corrPlot(options)) Adds a correlation plot. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/corr-plot

Parameters

ParameterType
options?Partial <ICorrelationPlotSettings>

Returns

Viewer<any>

Source

src/views/view.ts:479


densityPlot()

densityPlot(options?): Viewer<any>

deprecated: use addViewer(Viewer.densityPlot(options)) Adds a density plot. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/density-plot

Parameters

ParameterType
options?Partial <IDensityPlotSettings>

Returns

Viewer<any>

Source

src/views/view.ts:486


detach()

detach(): void

Detaches and closes the view.

Returns

void

Overrides

View . detach

Source

src/views/view.ts:616


detachViewers()

detachViewers(): void

Detaches all viewers.

Returns

void

Source

src/views/view.ts:621


filters()

filters(options?): Viewer<any>

deprecated: use addViewer(Viewer.filters(options)) Adds filters. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/filters

Parameters

ParameterType
options?Partial <IFiltersSettings>

Returns

Viewer<any>

Source

src/views/view.ts:493


form()

form(options?): Viewer<any>

deprecated: use addViewer(Viewer.form(options)) Adds default form. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/form

Parameters

ParameterType
options?Partial <IFormSettings>

Returns

Viewer<any>

Source

src/views/view.ts:500


getDartProperties()

getDartProperties(): any[]

Returns

any[]

Inherited from

View . getDartProperties

Source

src/widgets.ts:278


getFiltersGroup()

getFiltersGroup(options?): FilterGroup

Returns existing, or creates a new filter group.

Parameters

ParameterType
options?object
options.createDefaultFilters?boolean

Returns

FilterGroup

Source

src/views/view.ts:406


getFunctions()

getFunctions(): Func[]

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

View . getFunctions

Source

src/views/view.ts:264


getIcon()

getIcon(): null | HTMLElement

Returns

null | HTMLElement

View icon. Override in subclasses.

Inherited from

View . getIcon

Source

src/views/view.ts:160


getInfo()

getInfo(): ViewLayout

Saves view as a ViewInfo. Only applicable to certain views, such as TableView.

Returns

ViewLayout

Inherited from

View . getInfo

Source

src/views/view.ts:313


getProperties()

getProperties(): Property[]

Returns all properties of this widget.

Returns

Property[]

Inherited from

View . getProperties

Source

src/views/view.ts:263


getRibbonPanels()

getRibbonPanels(): HTMLElement[][]

Returns

HTMLElement[][]

Inherited from

View . getRibbonPanels

Source

src/views/view.ts:155


handlePath()

handlePath(_urlPath): void

Handles URL path. Override in subclasses.

Parameters

ParameterType
_urlPathstring

Returns

void

Inherited from

View . handlePath

Source

src/views/view.ts:175


heatMap()

heatMap(options?): Viewer<any>

deprecated: use addViewer(Viewer.heatMap(options)) Adds a heat map. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/heat-map

Parameters

ParameterType
options?Partial <IGridSettings>

Returns

Viewer<any>

Source

src/views/view.ts:507


histogram()

histogram(options?): Viewer<any>

This and some of the following methods are "softly deprecated" (will likely be deprecated in 1.21): deprecated: use addViewer(Viewer.histogram(options)). Adds a histogram. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/histogram

Parameters

ParameterType
options?Partial <IHistogramSettings>

Returns

Viewer<any>

Source

src/views/view.ts:449


lineChart()

lineChart(options?): Viewer<any>

deprecated: use addViewer(Viewer.histogram(options)) Adds a line chart. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/line-chart

Parameters

ParameterType
options?Partial <ILineChartSettings>

Returns

Viewer<any>

Source

src/views/view.ts:514


loadLayout()

loadLayout(layout, pickupColumnTags?): void

Loads previously saved view layout. Only applicable to certain views, such as TableView. See also saveLayout

Parameters

ParameterType
layoutViewLayout
pickupColumnTags?boolean

Returns

void

Inherited from

View . loadLayout

Source

src/views/view.ts:298


loadState()

loadState(x, options?): void

Parameters

ParameterType
xstring
options?IViewStateApplicationOptions

Returns

void

Source

src/views/view.ts:638


loadStateMap()

loadStateMap(_stateMap): void

Loads view state map. Override in subclasses.

Parameters

ParameterType
_stateMapobject

Returns

void

Inherited from

View . loadStateMap

Source

src/views/view.ts:168


markup()

markup(options?): Viewer<any>

deprecated: use addViewer(Viewer.markup(options)) Adds a markup viewer. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/markup

Parameters

ParameterType
options?Partial <IMarkupViewerSettings>

Returns

Viewer<any>

Source

src/views/view.ts:528


matrixPlot()

matrixPlot(options?): Viewer<any>

deprecated: use addViewer(Viewer.matrixPlot(options)) Adds a matrix plot. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/matrix-plot

Parameters

ParameterType
options?Partial <IMatrixPlotSettings>

Returns

Viewer<any>

Source

src/views/view.ts:535


networkDiagram()

networkDiagram(options?): Viewer<any>

deprecated: use addViewer(Viewer.networkDiagram(options)) Adds a network diagram. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/network-diagram

Parameters

ParameterType
options?Partial <INetworkDiagramSettings>

Returns

Viewer<any>

Source

src/views/view.ts:542


onFrameAttached()

onFrameAttached(dataFrame): void

Parameters

ParameterType
dataFrameDataFrame

Returns

void

Inherited from

View . onFrameAttached

Source

src/widgets.ts:284


onPropertyChanged()

onPropertyChanged(property): void

Gets called when viewer's property is changed.

Parameters

ParameterTypeDescription
propertynull | Propertyor null, if multiple properties were changed.

Returns

void

Inherited from

View . onPropertyChanged

Source

src/widgets.ts:276


pcPlot()

pcPlot(options?): Viewer<any>

deprecated: use addViewer(Viewer.pcPlot(options)) Adds a parallel coordinates plot. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/pc-plot

Parameters

ParameterType
options?Partial <IPcPlotSettings>

Returns

Viewer<any>

Source

src/views/view.ts:549


pieChart()

pieChart(options?): Viewer<any>

deprecated: use addViewer(Viewer.pieChart(options)) Adds a pie chart. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/pie-chart

Parameters

ParameterType
options?Partial <IPieChartSettings>

Returns

Viewer<any>

Source

src/views/view.ts:556


pin()

pin(): void

Pins the view. Pinned views are not closed when a new view is opened.

Returns

void

Inherited from

View . pin

Source

src/views/view.ts:291


reloadData()

reloadData(options?): Promise<void>

Re-runs the table creation script (for dynamic data), and executes post-processing if enrich is true.

Parameters

ParameterType
options?object
options.enrich?boolean

Returns

Promise<void>

Source

src/views/view.ts:643


resetLayout()

resetLayout(): void

Resets view layout, leaving only grid visible.

Returns

void

Source

src/views/view.ts:611


saveLayout()

saveLayout(options?): ViewLayout

Saves view layout as a string. Only applicable to certain views, such as TableView. See also loadLayout

Parameters

ParameterType
options?object
options.saveWithData?boolean

Returns

ViewLayout

Inherited from

View . saveLayout

Source

src/views/view.ts:306


saveState()

saveState(): string

Returns

string

Source

src/views/view.ts:634


saveStateMap()

saveStateMap(): null | object

Returns

null | object

Viewer state map. Override in subclasses.

Inherited from

View . saveStateMap

Source

src/views/view.ts:165


scatterPlot()

scatterPlot(options?): ScatterPlotViewer

deprecated: use addViewer(Viewer.scatterPlot(options)) Adds a scatter plot. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/scatter-plot

Parameters

ParameterType
options?Partial <IScatterPlotSettings>

Returns

ScatterPlotViewer

Source

src/views/view.ts:563


scatterPlot3d()

scatterPlot3d(options?): Viewer<any>

deprecated: use addViewer(Viewer.scatterPlot3d(options)) Adds a 3D scatter plot. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/scatter-plot-3d

Parameters

ParameterType
options?Partial <IScatterPlot3dSettings>

Returns

Viewer<any>

Source

src/views/view.ts:570


setIcon()

setIcon(icon): void

Parameters

ParameterType
iconHTMLElement

Returns

void

Inherited from

View . setIcon

Source

src/views/view.ts:162


setRibbonPanels()

setRibbonPanels(panels, clear): void

Sets custom view panels on the ribbon.

Parameters

ParameterTypeDefault valueDescription
panelsHTMLElement[][]undefined
clearbooleantrueClear all previous before setup Sample: https://public.datagrok.ai/js/samples/ui/views/ribbon

Returns

void

Inherited from

View . setRibbonPanels

Source

src/views/view.ts:151


shapeMap()

shapeMap(options?): Viewer<any>

deprecated: use addViewer(Viewer.shapeMap(options)) Adds a shape map. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/shape-map

Parameters

ParameterType
options?Partial <IMapViewerSettings>

Returns

Viewer<any>

Source

src/views/view.ts:521


sourceRowsChanged()

sourceRowsChanged(): void

Returns

void

Inherited from

View . sourceRowsChanged

Source

src/widgets.ts:282


statistics()

statistics(options?): Viewer<any>

deprecated: use addViewer(Viewer.statistics(options)) Adds a statistics. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/statistics

Parameters

ParameterType
options?Partial <IStatsViewerSettings>

Returns

Viewer<any>

Source

src/views/view.ts:577


sub()

sub(subscription): void

Registers a subscription to an external event.

Parameters

ParameterTypeDescription
subscriptionSubscription

Returns

void

Inherited from

View . sub

Source

src/widgets.ts:250


tileViewer()

tileViewer(options?): Viewer<any>

deprecated: use addViewer(Viewer.histogram(options)) Adds a tile viewer. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/tile-viewer

Parameters

ParameterType
options?Partial <ITileViewerSettings>

Returns

Viewer<any>

Source

src/views/view.ts:584


toDart()

toDart(): any

Returns

any

Inherited from

View . toDart

Source

src/widgets.ts:242


treeMap()

treeMap(options?): Viewer<any>

deprecated: use addViewer(Viewer.treeMap(options)) Adds a tree map. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/tree-map

Parameters

ParameterType
options?Partial <ITreeMapSettings>

Returns

Viewer<any>

Source

src/views/view.ts:591


trellisPlot()

trellisPlot(options?): Viewer<any>

deprecated: use addViewer(Viewer.trellisPlot(options)) Adds a trellis plot. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/trellis-plot

Parameters

ParameterType
options?Partial <ITrellisPlotSettings>

Returns

Viewer<any>

Source

src/views/view.ts:598


wordCloud()

wordCloud(options?): Viewer<any>

Adds a word cloud. Sample: https://public.datagrok.ai/js/samples/ui/viewers/types/word-cloud

Parameters

ParameterType
options?any

Returns

Viewer<any>

Deprecated

Source

src/views/view.ts:606


create()

static create(table, addToWorkspace): TableView

Creates a new table view, and adds it to the workspace if specified

Parameters

ParameterTypeDefault value
tableDataFrameundefined
addToWorkspacebooleantrue

Returns

TableView

Overrides

View . create

Source

src/views/view.ts:389


createByType()

static createByType(viewType, options?): View

Creates one of the standard views based on the view type (such as 'functions')

Parameters

ParameterType
viewTypestring
options?any

Returns

View

Inherited from

View . createByType

Source

src/views/view.ts:255


find()

static find(root): null | Widget<any>

Finds existing widget from its visual root.

Parameters

ParameterType
rootElement

Returns

null | Widget<any>

Inherited from

View . find

Source

src/widgets.ts:238


forObject()

static forObject(x): null | View

Creates a view for the specified object, if it is registered, or null otherwise.

Parameters

ParameterType
xany

Returns

null | View

Inherited from

View . forObject

Source

src/views/view.ts:233


fromDart()

static fromDart(dart): TableView | View

Parameters

ParameterType
dartany

Returns

TableView | View

Inherited from

View . fromDart

Source

src/views/view.ts:224


fromRoot()

static fromRoot(root): View

Creates and returns a view with the specified element inside.

Parameters

ParameterType
rootHTMLElement

Returns

View

Inherited from

View . fromRoot

Source

src/views/view.ts:238


fromViewAsync()

static fromViewAsync(getViewAsync, ribbon): any

Parameters

ParameterTypeDefault value
getViewAsync() => Promise <View>undefined
ribbonbooleantrue

Returns

any

Inherited from

View . fromViewAsync

Source

src/views/view.ts:259


getAll()

static getAll(): Widget<any>[]

Returns all currently active widgets.

Returns

Widget<any>[]

Inherited from

View . getAll

Source

src/widgets.ts:233