|
|
@ -13,30 +13,30 @@ export declare class Combo extends Widget { |
|
|
|
static EVENT_AFTER_HIDEVIEW: string; |
|
|
|
static EVENT_AFTER_HIDEVIEW: string; |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
|
trigger: 'click' | 'hover' | 'click-hover' | ''; |
|
|
|
trigger?: 'click' | 'hover' | 'click-hover' | ''; |
|
|
|
toggle: boolean; |
|
|
|
toggle?: boolean; |
|
|
|
direction: 'top' | 'bottom' | 'left' | 'right' | 'top,left' | 'top,right' | 'bottom,left' | 'bottom,right' | 'right,innerRight' | 'right,innerLeft' | 'innerRight' | 'innerLeft'; |
|
|
|
direction?: 'top' | 'bottom' | 'left' | 'right' | 'top,left' | 'top,right' | 'bottom,left' | 'bottom,right' | 'right,innerRight' | 'right,innerLeft' | 'innerRight' | 'innerLeft'; |
|
|
|
logic: { |
|
|
|
logic?: { |
|
|
|
dynamic: boolean; |
|
|
|
dynamic: boolean; |
|
|
|
}, |
|
|
|
}, |
|
|
|
container: any; // popupview放置的容器,默认为this.element
|
|
|
|
container?: any; // popupview放置的容器,默认为this.element
|
|
|
|
isDefaultInit: boolean; |
|
|
|
isDefaultInit?: boolean; |
|
|
|
destroyWhenHide: boolean; |
|
|
|
destroyWhenHide?: boolean; |
|
|
|
hideWhenAnotherComboOpen: boolean; |
|
|
|
hideWhenAnotherComboOpen?: boolean; |
|
|
|
isNeedAdjustHeight: boolean; // 是否需要高度调整
|
|
|
|
isNeedAdjustHeight?: boolean; // 是否需要高度调整
|
|
|
|
isNeedAdjustWidth: boolean; |
|
|
|
isNeedAdjustWidth?: boolean; |
|
|
|
stopEvent: boolean; |
|
|
|
stopEvent?: boolean; |
|
|
|
stopPropagation: boolean; |
|
|
|
stopPropagation?: boolean; |
|
|
|
adjustLength: number; // 调整的距离
|
|
|
|
adjustLength?: number; // 调整的距离
|
|
|
|
adjustXOffset: number; |
|
|
|
adjustXOffset?: number; |
|
|
|
adjustYOffset: number; |
|
|
|
adjustYOffset?: number; |
|
|
|
hideChecker: Function; |
|
|
|
hideChecker?: Function; |
|
|
|
offsetStyle: 'left' | 'right' | 'center'; |
|
|
|
offsetStyle?: 'left' | 'right' | 'center'; |
|
|
|
el: any; |
|
|
|
el?: any; |
|
|
|
popup: any; |
|
|
|
popup?: any; |
|
|
|
comboClass: string; |
|
|
|
comboClass?: string; |
|
|
|
hoverClass: string; |
|
|
|
hoverClass?: string; |
|
|
|
belowMouse: boolean; |
|
|
|
belowMouse?: boolean; |
|
|
|
} |
|
|
|
} |
|
|
|
resetListHeight(h: number): void; |
|
|
|
resetListHeight(h: number): void; |
|
|
|
|
|
|
|
|
|
|
|