UNPKG

@threlte/xr

Version:

Tools to more easily create VR and AR experiences with Threlte

19 lines (18 loc) 487 B
/** * `<ARButton />` is an HTML `<button />` that can be used to init and display info about your immersive AR session. * * ```svelte * <ARButton * onerror={(event) => {}} * onclick={(event) => {}} * /> * ``` */ declare const ArButton: import("svelte").Component<Omit<Record<string, any>, "mode" | "sessionInit"> & { sessionInit?: XRSessionInit & { domOverlay?: { root: HTMLElement; } | undefined; }; }, {}, "">; export default ArButton;