Constructor
# new DuSmallButton()
Properties:
Name | Type | Description |
---|---|---|
helpLink |
string
|
A URL to a help page, shown on shift click on the button. |
label |
StaticText
|
The label |
value |
any
|
A user value stored in the button, which is passed to the onClick method |
onClick |
DuSmallButton~onClick
|
The function to execute when the button is clicked |
Type Definitions
# onClick(value)
The function to execute when the button is clicked.
The implementation of this function can take one parameter which is the used defined value of the button.
The implementation of this function can take one parameter which is the used defined value of the button.
Parameters:
Name | Type | Description |
---|---|---|
value |
any
|
The used defined value of the button |