UIButtonMixin is a mixin containing rules that can be used by other button designs without a need to inherit from it.
We do not use it alone, we use it to add the rules to other button designs.
Parameter Rules
caption: | This is the text that will appear on the button. |
Example: | “Generate BOM In Excel” |
doUpdate: | This determines whether or not updates accuser when the button is selected. |
Example: | true |
image: | Set to true if you want an image inside the button. |
Example: | true |
tooltip: | The text put here will show up when the user moves or hovers the mouse pointer over a trigger area. |
Example: | “UIDownloadButton” |
imageAlignment: | Image Alignment or placement. |
Example: | “left” |
imageUrl: | This will add an image inside of your button. You will need to use the Get RefChain check box and select the image from the Resources folder. |
Example: | R.getUrl({ name: 'Tip.jpg', id: '49e1c77a-bbc1-4c61-79d9-08d79e12bfcc' }) |
buttonStyle: | Button Style |
Example: | “secondary" |
Choices: | "primary | secondary" |
Mixins
UIControlMixin
UIStyleMixin
BaseNode
BaseModel
RULE NAME |
TYPE |
DEFAULTS |
CATEGORY |
FLAGS |
---|---|---|---|---|
caption |
string |
"" |
UI |
Cached |
doUpdate |
boolean |
true |
UI |
Cached |
image |
boolean |
false |
UI |
Cached |
tooltip |
string |
"" |
UI |
Cached |
imageAlignment |
string |
"left" |
UI |
Cached |
imageUrl |
string |
"" |
UI |
Cached |
buttonStyle |
string |
"primary" |
UI |
Cached |
UI Designs that use the UIButtonMixin:
1.UIActionButton
2.UIAddModelButton
3.UIDeleteModelRuleButton
4.UIDownloadButton
5.UISaveModelButton