META UI Components
    Preparing search index...

    Interface IMeDropdownMenuAttrs

    Атрибуты компонента me-dropdown-menu

    interface IMeDropdownMenuAttrs {
        align?: "center" | "left" | "right";
        animation?: "none" | "fadeIn" | "slideIn" | "scaleIn";
        animationDuration?: number;
        buttonIcon?: string;
        buttonSize?: "small" | "normal" | "large";
        buttonStyle?:
            | "link"
            | "success"
            | "primary"
            | "danger"
            | "secondary"
            | "warning"
            | "info"
            | "light"
            | "dark";
        buttonText?: string;
        closeOnClickOutside?: boolean;
        closeOnItemClick?: boolean;
        cssClass?: string;
        direction?: "left"
        | "right"
        | "up"
        | "down";
        disabled?: boolean;
        hoverDelay?: number;
        items?: IMeDropdownMenuItem[];
        maxHeight?: string;
        maxWidth?: string;
        minWidth?: string;
        offset?: number;
        searchable?: boolean;
        searchPlaceholder?: string;
        showHotkeys?: boolean;
        showIcons?: boolean;
        showSeparators?: boolean;
        style?: CSSProperties;
        theme?: "auto" | "light" | "dark";
        trigger?: "click" | "focus" | "hover";
        zIndex?: number;
    }
    Index

    Properties

    align?: "center" | "left" | "right"

    Выравнивание меню

    "left"
    
    animation?: "none" | "fadeIn" | "slideIn" | "scaleIn"

    Анимация появления

    "fadeIn"
    
    animationDuration?: number

    Длительность анимации (мс)

    200
    
    buttonIcon?: string

    Иконка кнопки

    buttonSize?: "small" | "normal" | "large"

    Размер кнопки

    "normal"
    
    buttonStyle?:
        | "link"
        | "success"
        | "primary"
        | "danger"
        | "secondary"
        | "warning"
        | "info"
        | "light"
        | "dark"

    Стиль кнопки

    "primary"
    
    buttonText?: string

    Текст кнопки

    closeOnClickOutside?: boolean

    Закрывать при клике вне меню

    true
    
    closeOnItemClick?: boolean

    Закрывать при клике на элемент

    true
    
    cssClass?: string

    Дополнительные CSS классы

    direction?: "left" | "right" | "up" | "down"

    Направление открытия меню

    "down"
    
    disabled?: boolean

    Отключить меню

    false
    
    hoverDelay?: number

    Задержка при наведении (мс)

    200
    

    Элементы меню

    maxHeight?: string

    Максимальная высота меню

    maxWidth?: string

    Максимальная ширина меню

    minWidth?: string

    Минимальная ширина меню

    offset?: number

    Отступ от кнопки

    0
    
    searchable?: boolean

    Поиск в меню

    false
    
    searchPlaceholder?: string

    Placeholder для поиска

    showHotkeys?: boolean

    Показывать горячие клавиши

    false
    
    showIcons?: boolean

    Показывать иконки

    true
    
    showSeparators?: boolean

    Показывать разделители

    true
    
    style?: CSSProperties

    Встроенные стили

    theme?: "auto" | "light" | "dark"

    Цветовая схема

    "light"
    
    trigger?: "click" | "focus" | "hover"

    Триггер для показа меню

    "click"
    
    zIndex?: number

    Z-index меню

    1000