toolkit.pages | R Documentation |
Only one page will be visible at a time. The returned element
has getData
and setData
methods that take or
return (respectively) an object with keys that are the IDs of the
pages.
pageElements |
|
labelTranslations |
|
tabIdPrefix |
|
An element that has the
tabs and the tabs that switch between them. The active tab has
the "active" class. It has the following extra methods:
setData(data)
: data is a dictionary with keys matching the
pageIds. The values are passed to the setData()
functions
of the corresponding elements. Pages without any data (and their
corresponding radio buttons) are summarily disabled. Pages with
data are enabled. reposition()
: sets each page to the same
dimensions as the container and calls each page's
reposition()
method (if it exists).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.