A can be used to simply add VR, AR or Quicklook buttons to your website without having to write any code.

Example

<needle-button ar></needle-button>
<needle-button vr></needle-button>
<needle-button quicklook></needle-button>

Example: custom label

<needle-button ar>Start AR</needle-button>
<needle-button vr>Start VR</needle-button>
<needle-button quicklook>View in AR</needle-button>

Example: custom styling

<!-- You can either style the element directly or use a CSS stylesheet -->
<style>
needle-button {
background-color: red;
color: white;
}
</style>
<needle-button ar>Start AR</needle-button>

Hierarchy

Constructors

Methods

  • Parameters

    • _name: string
    • _oldValue: string
    • _newValue: string

    Returns void

Generated using TypeDoc