ButtonDropdown.php 810 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\DropdawnButtonWrappers;
  3. use ThurData\Servers\KerioEmail\Core\UI\Interfaces\DropdownItemInterface;
  4. /**
  5. * base button controller
  6. *
  7. * @autor ThurData <info@thurdata.ch>
  8. */
  9. class ButtonDropdown extends \ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonBase
  10. {
  11. protected $id = 'dropdownButton';
  12. protected $class = ['lu-btn lu-btn--primary'];
  13. protected $icon = 'lu-zmdi lu-zmdi-plus';
  14. protected $title = 'dropdownButton';
  15. protected $htmlAttributes = [
  16. 'href' => 'javascript:;',
  17. 'data-toggle' => 'lu-tooltip',
  18. ];
  19. protected $vueComponent = true;
  20. protected $defaultVueComponentName = 'mg-dropdawn-btn-wrapper';
  21. }