Options
All
  • Public
  • Public/Protected
  • All
Menu

Extension of the SVG Tree, allowing to show additional actions on the right hand of the tree to directly link select a page

Hierarchy

Index

Constructors

constructor

Properties

container

container: TreeWrapperSelection<SVGGElement> = null

SVG container wrapping all .nodes, .links, .nodes-bg elements

Protected data

data: SvgTreeData = ...

hoveredNode

hoveredNode: TreeNode = null

Is set when the input device is hovered over a node

Protected icons

icons: {} = {}

Type declaration

Protected iconsContainer

iconsContainer: TreeWrapperSelection<SVGDefsElement> = null

SVG container wrapping all icon definitions

isOverSvg

isOverSvg: boolean = false

Check if cursor is over the SVG element

Protected linksContainer

linksContainer: TreeWrapperSelection<SVGGElement> = null

SVG container wrapping all links (lines between parent and child)

Protected networkErrorMessage

networkErrorMessage: string = TYPO3.lang.pagetree_networkErrorDesc

Protected networkErrorTitle

networkErrorTitle: string = TYPO3.lang.pagetree_networkErrorTitle

nodes

nodes: TreeNode[] = []

Protected nodesActionsContainer

nodesActionsContainer: TreeWrapperSelection<SVGGElement> = null

nodesBgContainer

nodesBgContainer: TreeWrapperSelection<SVGGElement> = null

SVG container wrapping all .nodes-bg elements

nodesContainer

nodesContainer: TreeWrapperSelection<SVGGElement> = null

SVG container wrapping all .node elements

Protected scrollBottom

scrollBottom: number = 0

Protected searchTerm

searchTerm: string = null

settings

settings: SvgTreeSettings = ...

Optional setup

setup?: {} = null

Type declaration

  • [keys: string]: any

svg

svg: TreeWrapperSelection<SVGSVGElement> = null

Root element

textPosition

textPosition: number = 10

Protected tooltipOptions

tooltipOptions: Partial<Options> = {}

Protected unfilteredNodes

unfilteredNodes: string = ''

Protected viewportHeight

viewportHeight: number = 0

Methods

Protected appendTextElement

Protected chevronClick

Protected clickOnIcon

connectedCallback

  • connectedCallback(): void

Protected createIconAreaForAction

  • createIconAreaForAction(actionItem: any, iconIdentifier: string): void

Protected createRenderRoot

  • createRenderRoot(): HTMLElement | ShadowRoot

Protected disableSelectedNodes

  • disableSelectedNodes(): void

doSetup

  • doSetup(settings: any): void

Protected enterSvgElements

errorNotification

  • errorNotification(error?: any, refresh?: boolean): void

fetchIcon

  • fetchIcon(iconName: string, update?: boolean): void

filter

  • filter(searchTerm?: string): void

Protected firstUpdated

  • firstUpdated(): void

Protected getChevronClass

Protected getChevronColor

Protected getChevronTransform

  • getChevronTransform(node: TreeNode): string

getIconId

getIconOverlayId

  • getIconOverlayId(node: TreeNode): string

Protected getLinkPath

Protected getNodeActionTransform

  • getNodeActionTransform(node: TreeNode): string

Protected getNodeBgClass

Protected getNodeBgTransform

  • getNodeBgTransform(node: TreeNode): string

Protected getNodeByIdentifier

  • getNodeByIdentifier(identifier: string): TreeNode

Protected getNodeDepth

getNodeElement

  • getNodeElement(node: TreeNode): HTMLElement

Protected getNodeIdentifier

  • getNodeIdentifier(node: TreeNode): string

Protected getNodeLabel

Protected getNodePositionInSet

  • getNodePositionInSet(node: TreeNode): number

Protected getNodeSetsize

Protected getNodeStateIdentifier

  • getNodeStateIdentifier(node: TreeNode): string

Protected getNodeTitle

Protected getNodeTransform

  • getNodeTransform(node: TreeNode): string

getSelectedNodes

Protected getToggleVisibility

  • getToggleVisibility(node: TreeNode): string

hideChildren

Private isLinkable

Protected isNodeSelectable

  • isNodeSelectable(node: TreeNode): boolean

Private linkItem

Protected loadChildrenOfNode

  • loadChildrenOfNode(parentNode: TreeNode): void

loadData

  • loadData(): void

nodesAddPlaceholder

  • nodesAddPlaceholder(node?: TreeNode): void

nodesRemovePlaceholder

  • nodesRemovePlaceholder(): void

nodesUpdate

prepareDataForVisibleNodes

  • prepareDataForVisibleNodes(): void

refreshOrFilterTree

  • refreshOrFilterTree(): void

refreshTree

  • refreshTree(): void

Protected render

  • render(): TemplateResult<ResultType>

replaceData

resetFilter

  • resetFilter(): void

Private selectItem

selectNode

  • selectNode(node: TreeNode, propagate?: boolean): void

setExpandedState

setParametersNode

  • setParametersNode(nodes?: TreeNode[]): void

showChildren

switchFocus

  • switchFocus(element: HTMLElement | SVGElement): void

switchFocusNode

Protected updateNodeActions

updateNodeBgClass

Protected updateView

  • updateView(): void

updateVisibleNodes

  • updateVisibleNodes(): void

Generated using TypeDoc