_menuButton
Use this to define a button that, when pressed, will mimic the effect of the specified menu item --
Function
_menuButton
(id, label, class) -> Value has not been set
- id
- The HTML id of the menu item to invoke
- label
- What to show on the button
- class (optional)
- Additional space-separated Bootstrap classes to use for displaying this button
- Produces
- The button
Sometimes, you want to be able to create a button that mimics the effect of a menu item. This
function allows you to do that.
For example, the "Design a New Model" button on the default Space page looks like this:
_menuButton(""designAModel"", ""Design a New Model"", class=""btn-xs btn-primary"")