Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
dev:viewer:sdk:initialize_js [2020/05/15 11:17]
reine
dev:viewer:sdk:initialize_js [2020/05/15 11:20]
reine
Line 35: Line 35:
 Before we can start using the library, you must wait for the browser document to be fully loaded.  The code below is the most basic way of doing that by waiting for the ''DOMContentLoaded'' event. \\ Before we can start using the library, you must wait for the browser document to be fully loaded.  The code below is the most basic way of doing that by waiting for the ''DOMContentLoaded'' event. \\
 Once the library is ready, we can instantiate the ''SDKViewer'' class.  \\ Once the library is ready, we can instantiate the ''SDKViewer'' class.  \\
-The initial state of the viewer can be tweaked by providing [[concepts|startup options]] defined by the ''Constants'' class.  You can use startup options to [[viewer_state|restore viewer state]] or set the communication [[concepts|CRS]]. \\+The initial state of the viewer can be tweaked by providing [[glossary|startup options]] defined by the ''Constants'' class.  You can use startup options to [[viewer_state|restore viewer state]] or set the communication [[glossary|CRS]]. \\
 After creating the viewer, wait for the ''isReady'' promise to resolve. After creating the viewer, wait for the ''isReady'' promise to resolve.
  
 
Last modified:: 2023/10/03 13:07