NorthwoodsSoftware / GoJS

JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
http://gojs.net
Other
7.8k stars 2.86k forks source link

Last #198

Closed Cheko519 closed 1 year ago

Cheko519 commented 1 year ago

$ go install golang.org/x/website/tour@latest const exampleDrop = document.querySelector('moov-example-drop'); exampleDrop.exampleProperty = 'example-value';

// Get myToken with initial scopes onboarding.token = myToken;

onboarding.onResourceCreated = ({ resourceType, resource }) => { if (resourceType === "account") { // Save the account resource somewhere } };

// Get myToken2 with account-related scopes onboarding.token = myToken2;