1 | <?php |
||
8 | trait TriggerTrait |
||
9 | { |
||
10 | /** |
||
11 | * The user interaction that causes the tooltip to be displayed : |
||
12 | * 'focus' - The tooltip will be displayed when the user hovers over the element. |
||
13 | * 'none' - The tooltip will not be displayed. |
||
14 | * 'selection' - The tooltip will be displayed when the user selects the element. |
||
15 | * |
||
16 | * Default: 'focus' |
||
17 | * |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $trigger; |
||
21 | |||
22 | /** |
||
23 | * @param string $trigger |
||
24 | * |
||
25 | * @return $this |
||
26 | */ |
||
27 | public function setTrigger($trigger) |
||
33 | } |
||
34 |