Function registerButton

  • Register a new button available for all viewers

    Parameters

    • button: ButtonConstructor
    • Optional defaultPosition: string

      If provided the default configuration of the navbar will be modified. Possible values are :

      • start
      • end
      • [id]:left
      • [id]:right
      Optional

    Returns void

    Throws

    PSVError if the button constructor has no "id"

Generated using TypeDoc