ranui
Version:
UI Component library based on `Web Component`
35 lines (34 loc) • 982 B
TypeScript
import type { Chain } from 'ranuts/utils';
export declare enum ARROW_TYPE {
TOP = "top",
BOTTOM = "bottom",
LEFT = "left",
RIGHT = "right"
}
declare const Dropdown_base: {
new (): HTMLElement;
prototype: HTMLElement;
};
export declare class Dropdown extends Dropdown_base {
dropdown: Chain;
_slot: Chain;
_shadowDom: ShadowRoot;
arrowIcon?: Chain;
container: Chain;
static get observedAttributes(): string[];
constructor();
get transit(): string;
set transit(value: string);
get arrow(): string;
set arrow(value: string);
get show(): string;
set show(value: string);
handlerTransit: () => void;
handlerArrow: () => void;
stopPropagation: (e: Event) => void;
connectedCallback(): void;
disconnectedCallback(): void;
attributeChangedCallback(name: string, _: string, newValue: string): void;
}
declare const _default: import("@/utils/index").CustomErrorType;
export default _default;