Footer configbutton
There Footer can be fitted with a special button for the purpose of configuring things. To show the button, simply call the method configbutton
with a callback.
ts.ui.Footer.configbutton(function onclick() {
ts.ui.Notification.success('Go configure!');
});
What happens when you click the button is completely up to you. Fortunately, you can also hide the button again by passing null
to the same method.
ts.ui.Footer.configbutton(null);