Package Exports
- @sketchfab/viewer-api
- @sketchfab/viewer-api/viewer-api.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sketchfab/viewer-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Sketchfab Viewer API
The Sketchfab Viewer API is a small browser-targeted lib that lets you manipulate the sketchfab viewer inside an embed.
For legacy reasons, this repository only contains the build bundles so that they can be installed through npm. The source code is currently unavailable. There are however numerous resources and snippets available over at sketchfab.
- Bug reports
- Feature requests / suggestions
- Initialization and options
- API
- Examples:
- Start/Stop the viewer
- Custom camera animation
- Take a screenshot
- “Follow the mouse” model
- Compare two models
- Sync annotations with DOM content (Source)
- Model Configurator - Chair (Source)
- Model Configurator - Apple Watch (Source)
- Screenshot Generator (Source)
- Viewer Sharing (Source)
- More Labs and Experiments