Differences

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

Link to this comparison view

Both sides previous revision Previous revision
dev:viewer:sdk:initialize_js [2020/05/15 11:20]
reine
dev:viewer:sdk:initialize_js [2020/05/15 11:29] (current)
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 [[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]]. \\+The initial state of the viewer can be tweaked by providing [[dev:​viewer:​sdk:​concepts|startup options]] defined by the ''​Constants''​ class. ​ You can use startup options to [[dev:​viewer:​sdk:​viewer_state|]] or set the communication [[dev:​viewer:​sdk:​concepts|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:: 2020/05/15 11:29