Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AvPanelProps

Props for AvPanel

Hierarchy

Index

Properties

Optional customMouseHandler

customMouseHandler: PanelHandler

By default poker events will turn into mouse events to the browser that can be processed by the normal HTML/Javacript mouse processing. Set a custom mouse handler if you need to process incoming mouse events in some other way.

Optional debugName

debugName: string

A name that's applied to the node in the monitor and other tools. This name has no effect at runtime.

Optional id

id: string

This is the ID of the DOM element that is created as the parent of the component. It is used to reference other nodes in the gadget. If it is specified, it must be unique within the gadget.

default

none

Optional interactive

interactive: boolean

Set this to true to cause the panel to be interacted with by pokers.

default

false

Optional onIdAssigned

onIdAssigned: (addr: EndpointAddr) => void

Set this prop to be notified when the node is assigned its endpoint address. This is not necessary for most nodes.

Type declaration

    • (addr: EndpointAddr): void
    • Parameters

      • addr: EndpointAddr

      Returns void

Optional persistentName

persistentName: string

An alias for debugName.

deprecated

Optional visible

visible: boolean

Controls whether or not this node and its children are visible. If retaining the state of a node is important as it comes and goes, use the visible prop instead of omitting the node from the render function. This allows the renderer to retain the node's state even when you don't want it to draw.

default

true

widthInMeters

widthInMeters: number

The width of the panel in meters. The panel's height will be scaled by this number and the aspect ratio of the window.

Generated using TypeDoc