speed-dial-action.d.ts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /*!
  2. * devextreme-angular
  3. * Version: 19.1.16
  4. * Build date: Tue Oct 18 2022
  5. *
  6. * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
  7. *
  8. * This software may be modified and distributed under the terms
  9. * of the MIT license. See the LICENSE file in the root of the project for details.
  10. *
  11. * https://github.com/DevExpress/devextreme-angular
  12. */
  13. import { TransferState } from '@angular/platform-browser';
  14. import { ElementRef, NgZone, OnDestroy, EventEmitter } from '@angular/core';
  15. import DxSpeedDialAction from 'devextreme/ui/speed_dial_action';
  16. import { DxComponent } from '../core/component';
  17. import { DxTemplateHost } from '../core/template-host';
  18. import { NestedOptionHost } from '../core/nested-option';
  19. import { WatcherHelper } from '../core/watcher-helper';
  20. /**
  21. * The SpeedDialAction is a button that performs a custom action. It can be represented by a Floating Action Button (FAB) or a button in a speed dial menu opened with the FAB.
  22. */
  23. export declare class DxSpeedDialActionComponent extends DxComponent implements OnDestroy {
  24. instance: DxSpeedDialAction;
  25. /**
  26. * Specifies the shortcut key that sets focus on the widget.
  27. */
  28. accessKey: string;
  29. /**
  30. * Specifies whether or not the widget changes its state when interacting with a user.
  31. */
  32. activeStateEnabled: boolean;
  33. /**
  34. * Specifies the attributes to be attached to the widget's root element.
  35. */
  36. elementAttr: any;
  37. /**
  38. * Specifies whether the widget can be focused using keyboard navigation.
  39. */
  40. focusStateEnabled: boolean;
  41. /**
  42. * Specifies text for a hint that appears when a user pauses on the widget.
  43. */
  44. hint: string;
  45. /**
  46. * Specifies whether the widget changes its state when a user pauses on it.
  47. */
  48. hoverStateEnabled: boolean;
  49. /**
  50. * Specifies the icon the FAB or speed dial action button displays.
  51. */
  52. icon: string;
  53. /**
  54. * Switches the widget to a right-to-left representation.
  55. */
  56. rtlEnabled: boolean;
  57. /**
  58. * Specifies the number of the element when the Tab key is used for navigating.
  59. */
  60. tabIndex: number;
  61. /**
  62. * A function that is executed when the FAB or speed dial action button is clicked or tapped.
  63. */
  64. onClick: EventEmitter<any>;
  65. /**
  66. * A function that is executed when the widget's content is ready and each time the content is changed.
  67. */
  68. onContentReady: EventEmitter<any>;
  69. /**
  70. * A function that is executed before the widget is disposed of.
  71. */
  72. onDisposing: EventEmitter<any>;
  73. /**
  74. * A function used in JavaScript frameworks to save the widget instance.
  75. */
  76. onInitialized: EventEmitter<any>;
  77. /**
  78. * A function that is executed after a widget option is changed.
  79. */
  80. onOptionChanged: EventEmitter<any>;
  81. /**
  82. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  83. */
  84. accessKeyChange: EventEmitter<string>;
  85. /**
  86. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  87. */
  88. activeStateEnabledChange: EventEmitter<boolean>;
  89. /**
  90. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  91. */
  92. elementAttrChange: EventEmitter<any>;
  93. /**
  94. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  95. */
  96. focusStateEnabledChange: EventEmitter<boolean>;
  97. /**
  98. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  99. */
  100. hintChange: EventEmitter<string>;
  101. /**
  102. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  103. */
  104. hoverStateEnabledChange: EventEmitter<boolean>;
  105. /**
  106. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  107. */
  108. iconChange: EventEmitter<string>;
  109. /**
  110. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  111. */
  112. rtlEnabledChange: EventEmitter<boolean>;
  113. /**
  114. * This member supports the internal infrastructure and is not intended to be used directly from your code.
  115. */
  116. tabIndexChange: EventEmitter<number>;
  117. constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any);
  118. protected _createInstance(element: any, options: any): DxSpeedDialAction;
  119. ngOnDestroy(): void;
  120. }
  121. export declare class DxSpeedDialActionModule {
  122. }