Description Usage Arguments Value Examples
A upper level function of drawer::toCanvasBtn. You should only use it under SPS projects. For you own apps, still use the drawer::toCanvasBtn.
1 |
dom |
a HTML DOM selector, mostly common is to select the element by ID: e.g. a plot with ID "plot1", to select, use Other complex selector is supported. First turn |
id |
ID of this button, optional. |
isID |
bool, if the |
class |
string, length 1, other html class add to the button wrapper |
placement |
where should the tiptool place, top, bottom, left, right. |
a button group with several options
1 | canvasBtn("#mydiv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.