Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • VertexSceneTree

Index

Properties

config?: string | Config

An object to configure the scene tree.

configEnv?: Environment

Sets the default environment for the viewer. This setting is used for auto-configuring network hosts.

Use the config property for manually setting hosts.

controller?: SceneTreeController
metadataKeys?: string[]

A list of part metadata keys that will be made available to each row. This metadata can be used for data binding inside the scene tree's template.

metadataSearchExactMatch?: boolean
deprecated

Use searchOptions Indicates whether the metadata search should use an exact match.

metadataSearchKeys?: string[]
deprecated

Use searchOptions A list of the metadata keys that a scene tree search should be performed on.

overScanCount?: number

The number of offscreen rows above and below the viewport to render. Having a higher number reduces the chance of the browser not displaying a row while scrolling.

rowData?: RowDataProvider

A callback that is invoked immediately before a row is about to rendered. This callback can return additional data that can be bound to in a template.

example
<script>
const table = document.querySelector('vertex-scene-tree-table');
table.rowData = (row) => {
return { func: () => console.log('row', row.node.name) };
};
</script>
<vertex-scene-tree>
<vertex-scene-tree-table>
<vertex-scene-tree-table-column>
<template> <button event:click="{{row.data.func}}">Hi</button> </template>
</vertex-scene-tree-table-column>
</vertex-scene-tree-table>
</vertex-scene-tree>
searchOptions?: FilterOptions

A set of options to configure scene tree searching behavior.

viewer?: null | HTMLVertexViewerElement

An instance of a <vertex-viewer> element. Either this property or viewerSelector must be set.

viewerSelector?: string

A CSS selector that points to a <vertex-viewer> element. Either this property or viewer must be set.

Methods