Skip to content

SemanticsList

Panoramax.components.menus.SemanticsList ⇐ lit.LitElement

Kind: static class of Panoramax.components.menus
Extends: lit.LitElement
Emits: select, edit-click, delete-click
Element: pnx-semantics-list

new SemanticsList()

Semantics list shows listing of both picture tags and annotations. It uses the parent component currently selected picture.

Example

<pnx-semantics-list _parent=${viewer} />

semanticsList.properties : Object

Component properties.

Kind: instance property of SemanticsList
Properties

Name Type Default Description
[editable] boolean false Show an "Edit" button ?

semanticsList.showAnnotation(id)

Display a specific annotation details.

Kind: instance method of SemanticsList

Param Type Description
id string The annotation UUID

semanticsList.showTagsGroup(tags)

Display a specific tag group details.

Kind: instance method of SemanticsList

Param Type Description
tags object The tags to find

"select"

Event for item selection

Kind: event emitted by SemanticsList
Properties

Name Type Description
detail.item object The selected annotation/tag group (or null if none)

"edit-click"

Event for edit button click

Kind: event emitted by SemanticsList
Properties

Name Type Description
detail.item object The annotation/tag group to edit

"delete-click"

Event for delete button click

Kind: event emitted by SemanticsList
Properties

Name Type Description
detail.item object The annotation/tag group to delete