createWhiteboard()
createWhiteboard: ({personal: boolean, folderId: string})
Creates and opens a new whiteboard, and immediately persists it in the personal or room library.
You can optionally specify a parent library folder id. If folder is not specified, then whiteboard will be part of the default root library folder.
//Creates the whiteboard in the room library
sambaFrame.createWhiteboard({personal: false});
//Creates the whiteboard in the personal library
sambaFrame.createWhiteboard({personal: true});
//Creates the whiteboard in the room library inside a concrete folder
sambaFrame.createWhiteboard({
personal: false,
folderId: '6d987ab4-9df2-45f2-a076-eec503cc6799'
});
Sample use case: You may have a button in your application to create a whiteboard on the fly.
Last updated