Niagara Bootstrap Buttons
- Drag n' Drop
- Binds to ORD value
- Renders in all major browsers
- Bootstrap V4 styling
- Multiple styles
Bootstrap style buttons for your px pages. Drag and drop the icon widget from the palette onto your px view.
The widget has a number of configurable properties that can be used to modify look, feel, and functionality. Change the properties as required:
The Niagara object the button points to.
Set this to an absolute ord, e.g.
relativized ORD e.g. slot:AHU5
The button text to show on the button. You can also enter html character codes. E.g. non-breaking space:
Bootstrap V4 - the following values are acceptable: btn-primary, btn-secondary, btn-success, btn-info, btn-warning, btn-danger, btn-link, btn-outline-primary, btn-outline-secondary, btn-outline-success, btn-outline-info, btn-outline-warning, btn-outline-danger.
Add a non-breaking space to either side by using
Note: the buttons have a transparent canvas background in browser mode.
Also check out the font awesome buttons.
You can now use the widget in your custom html page as long as the html file is in a appropriate station directory. E.g.:
1. Create an html page and place in your station files directory.
2. Create a div element and give it an id so you can inject the widget into this area. E.g.: widget1.
3. Add the following scripts before the closing head tag or the closing body tag. E.g.: