• Register a new button available for all viewers

    Parameters

    • button: ButtonConstructor
    • OptionaldefaultPosition: string

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

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

    Returns void

    PSVError if the button constructor has no "id"