RAMP4 - v4.21.0
    Preparing search index...

    A class that represents legend items used to group a collection of child items.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _children: LegendItem[] = []
    _content: string
    _controls: LegendControl[] | undefined
    _disabledControls: LegendControl[] | undefined
    _exclusive: boolean
    _expanded: boolean
    _hidden: boolean
    _infoType: InfoType
    _lastVisible?: LegendItem
    _loadPromise: DefPromise<void>
    _name: string
    _parent?: LegendItem = undefined
    _type: LegendType
    _uid: string
    _visibility: boolean
    _visibleChildren: LegendItem[]

    The instance of RampMap API scoped to a single Vue R4MP application.

    APIScope

    Accessors

    • get $element(): App<Element>

      Returns App<Element>

    • get $vApp(): ComponentPublicInstance

      The instance of Vue R4MP application controlled by this InstanceAPI. This is just a shorthand for this.$iApi.$vApp.

      Returns ComponentPublicInstance

      APIScope

    Methods

    • Toggle visibility state of a legend item. Needs to verify parent visibility is updated.

      Parameters

      • Optionalvisible: boolean
      • updateParent: boolean = true

        whether or not toggleVisibiliity should 'bubble-up' the legend tree

      Returns void