Configure the trigger.
public setTrigger ( string $text = '', string $type = 'button', string $cssClass = 'btn-default', string $icon = 'caret-down' ) : object | ||
$text | string | Text on the trigger. |
$type | string | One of the triggerTypes - currently supports 'anchor' or 'button'. |
$cssClass | string | CSS class for the trigger. |
$icon | string | Icon for the trigger. |
return | object | $this The calling DropdownModule object. |