Autodesk.Viewing.Private
ViewerPreferences
Viewer preferences.
extends Autodesk.Viewing.Private.Preferences
new ViewerPreferences(viewer, options)
Parameters
Expand all
viewer* | Viewer instance. |
options* object | Contains configuration parameters used to do initializations. |
localStorage boolean | Whether values get stored and loaded back from localStorage. Defaults to true . |
prefix string | A string to prefix preference names in web storage. Defaults to 'Autodesk.Viewing.ViewerPreferences.' . |
* Required