menu-item.d.ts 565 B

123456789101112131415161718192021
  1. import { LitElement } from 'lit';
  2. export default class SlMenuItem extends LitElement {
  3. static styles: import("lit").CSSResult;
  4. menuItem: HTMLElement;
  5. private hasFocus;
  6. checked: boolean;
  7. value: string;
  8. disabled: boolean;
  9. focus(options?: FocusOptions): void;
  10. blur(): void;
  11. handleBlur(): void;
  12. handleFocus(): void;
  13. handleMouseEnter(): void;
  14. handleMouseLeave(): void;
  15. render(): import("lit-html").TemplateResult<1>;
  16. }
  17. declare global {
  18. interface HTMLElementTagNameMap {
  19. 'sl-menu-item': SlMenuItem;
  20. }
  21. }