DockView
Defined in: js-api/src/views/view.ts:725
A view is typically docked in the main document area of the Grok platform. See [TableView], [SketchView], etc
Extends
Constructors
Constructor
new DockView(
dart):DockView
Defined in: js-api/src/views/view.ts:726
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
DockView
Overrides
Properties
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|---|---|---|---|---|---|---|
_functions | protected | Func[] | [] | - | View._functions | js-api/src/widgets/base.ts:218 |
_name | protected | string | 'New View' | - | View._name | js-api/src/views/view.ts:108 |
_properties | protected | Property[] | [] | - | View._properties | js-api/src/widgets/base.ts:217 |
_root | protected | HTMLElement | undefined | - | View._root | js-api/src/u2core/component.ts:666 |
_u2 | readonly | ComponentState | undefined | - | View._u2 | js-api/src/u2core/component.ts:119 |
componentMeta? | public | ComponentMetaBase | undefined | The registry metadata of the tag that built this component, stamped by the spec renderer — the single source the introspection surface below is generated from. | View.componentMeta | js-api/src/u2core/component.ts:114 |
dart | public | any | undefined | - | View.dart | js-api/src/views/view.ts:49 |
factory | public | Func | null | null | Constructor function. No parameters, returns [Widget]. | View.factory | js-api/src/widgets/base.ts:215 |
isDetached | public | boolean | false | Whether detach has been called. | View.isDetached | js-api/src/widgets/base.ts:225 |
props | public | any | undefined | Property bag over this widget's properties; read and write them by name. | View.props | js-api/src/widgets/base.ts:220 |
specProps? | public | Record<string, unknown> | undefined | The props the registry's create was handed, stamped alongside componentMeta: the last resort of the property read below, for a component that keeps a prop under another name or not at all (a create wrapping a bare element). Construction-time values — a live one always wins. | View.specProps | js-api/src/u2core/component.ts:118 |
subs | public | Subscription[] | undefined | Subscriptions cancelled when the widget is detached. | View.subs | js-api/src/views/view.ts:50 |
temp | public | any | undefined | Contains auxiliary information | View.temp | js-api/src/views/view.ts:244 |
ALL_VIEW_TYPES | readonly | string[] | undefined | - | View.ALL_VIEW_TYPES | js-api/src/views/view.ts:405 |
APPS | readonly | "apps" | 'apps' | - | View.APPS | js-api/src/views/view.ts:375 |
BROWSE | readonly | "browse" | 'browse' | - | View.BROWSE | js-api/src/views/view.ts:402 |
DATA_CONNECTIONS | readonly | "connections" | 'connections' | - | View.DATA_CONNECTIONS | js-api/src/views/view.ts:389 |
DATA_JOB_RUNS | readonly | "jobs" | 'jobs' | - | View.DATA_JOB_RUNS | js-api/src/views/view.ts:390 |
DATA_QUERY_RUNS | readonly | "queryruns" | 'queryruns' | - | View.DATA_QUERY_RUNS | js-api/src/views/view.ts:392 |
DATABASES | readonly | "databases" | 'databases' | - | View.DATABASES | js-api/src/views/view.ts:385 |
DOCKERS | readonly | "dockers" | 'dockers' | - | View.DOCKERS | js-api/src/views/view.ts:403 |
EMAILS | readonly | "emails" | 'emails' | - | View.EMAILS | js-api/src/views/view.ts:393 |
FILES | readonly | "files" | 'files' | - | View.FILES | js-api/src/views/view.ts:391 |
FORUM | readonly | "forum" | 'forum' | - | View.FORUM | js-api/src/views/view.ts:380 |
FUNCTIONS | readonly | "functions" | 'functions' | - | View.FUNCTIONS | js-api/src/views/view.ts:388 |
GROUPS | readonly | "groups" | 'groups' | - | View.GROUPS | js-api/src/views/view.ts:394 |
HELP | readonly | "help" | 'help' | - | View.HELP | js-api/src/views/view.ts:383 |
isRoot | static | boolean | false | A root has no owner by design (a dialog): built with none, it is not reported as owner-missing. | View.isRoot | js-api/src/u2core/component.ts:81 |
JS_EDITOR | readonly | "js" | 'js' | - | View.JS_EDITOR | js-api/src/views/view.ts:401 |
MODELS | readonly | "models" | 'models' | - | View.MODELS | js-api/src/views/view.ts:395 |
NOTEBOOKS | readonly | "notebooks" | 'notebooks' | - | View.NOTEBOOKS | js-api/src/views/view.ts:382 |
OPEN_TEXT | readonly | "text" | 'text' | - | View.OPEN_TEXT | js-api/src/views/view.ts:384 |
PACKAGE_REPOSITORIES | readonly | "repositories" | 'repositories' | - | View.PACKAGE_REPOSITORIES | js-api/src/views/view.ts:400 |
PACKAGES | readonly | "Plugins" | 'Plugins' | - | View.PACKAGES | js-api/src/views/view.ts:399 |
PROJECTS | readonly | "projects" | 'projects' | - | View.PROJECTS | js-api/src/views/view.ts:381 |
QUERIES | readonly | "queries" | 'queries' | - | View.QUERIES | js-api/src/views/view.ts:396 |
SCRIPT | readonly | "script" | 'script' | - | View.SCRIPT | js-api/src/views/view.ts:378 |
SCRIPTS | readonly | "scripts" | 'scripts' | - | View.SCRIPTS | js-api/src/views/view.ts:397 |
SETTINGS | readonly | "settings" | 'settings' | - | View.SETTINGS | js-api/src/views/view.ts:376 |
SKETCH | readonly | "sketch" | 'sketch' | - | View.SKETCH | js-api/src/views/view.ts:379 |
USERS | readonly | "users" | 'users' | - | View.USERS | js-api/src/views/view.ts:398 |
VIEW_LAYOUTS | readonly | "layouts" | 'layouts' | - | View.VIEW_LAYOUTS | js-api/src/views/view.ts:387 |
WEB_SERVICES | readonly | "webservices" | 'webservices' | - | View.WEB_SERVICES | js-api/src/views/view.ts:386 |
WELCOME | readonly | "welcome" | 'welcome' | - | View.WELCOME | js-api/src/views/view.ts:377 |
Accessors
aiDescription
Get Signature
get aiDescription():
string|null
Defined in: js-api/src/views/view.ts:255
AI briefing of the underlying view (widget-level on the Dart side). For a JS-defined view the Dart host forwards to the original ViewBase instance.
Returns
string | null
Set Signature
set aiDescription(
x):void
Defined in: js-api/src/views/view.ts:260
A short AI-facing briefing, seeded from the registry's usage or description.
Parameters
| Parameter | Type |
|---|---|
x | string | null |
Returns
void
Inherited from
ambientAdoption
Get Signature
get
protectedambientAdoption():boolean
Defined in: js-api/src/widgets/base.ts:278
A widget wrapper minted inside somebody's effect scope must not be auto-disposed with it.
Returns
boolean
Inherited from
basePath
Get Signature
get basePath():
string
Defined in: js-api/src/views/view.ts:141
URL prefix of the view (an app's root, such as /apps/Chem); path is this prefix plus the
view's own relative path.
Returns
string