UNPKG

ranui

Version:

A framework-agnostic Web Components UI library built on native custom elements, with TypeScript types, light/dark theming, SSR and PWA support.

31 lines (30 loc) 915 B
import { RanElement } from '@/utils/index'; export declare enum ARROW_TYPE { TOP = "top", BOTTOM = "bottom", LEFT = "left", RIGHT = "right" } export declare class Dropdown extends RanElement { dropdown: HTMLElement; _slot: HTMLSlotElement; _shadowDom: ShadowRoot; arrowIcon?: HTMLElement; container: HTMLElement; static get observedAttributes(): string[]; constructor(); get transit(): string; set transit(value: string); get arrow(): string; set arrow(value: string); get sheet(): string; set sheet(value: string); handlerExternalCss: () => void; handlerTransit: () => void; handlerArrow: () => void; stopPropagation: (e: Event) => void; connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void; } export default Dropdown;