Constructor
new SimpleButton(type, img, text)
Parameters:
Name | Type | Description |
---|---|---|
type |
string | one of available button types |
img |
string | image src |
text |
string | inner text |