Footer collabbutton

The Footer features a special button which is dedicated to launching the collaboration panel. To show the button, simply call the method configbutton with a callback.

ts.ui.Footer.collabbutton(function onclick() {
	ts.ui.Notification.success('Go collaborate!');
});

Note that the Footer doesn't automatically initialize or resume the collbaroration. The API for this will be provided elsewhere. You can hide the collaboration button by passing null to the same method.

ts.ui.Footer.collabbutton(null);