| | |
| | | import { SuperComponent } from '../common/src/index'; |
| | | export default class ActionSheet extends SuperComponent { |
| | | static show: (options: import("./show").ActionSheetShowOption) => WechatMiniprogram.Component.TrivialInstance; |
| | | behaviors: string[]; |
| | | externalClasses: string[]; |
| | | properties: { |
| | | align?: { |
| | | type: StringConstructor; |
| | | value?: "center" | "left"; |
| | | value?: "left" | "center"; |
| | | }; |
| | | cancelText?: { |
| | | type: StringConstructor; |
| | |
| | | items: { |
| | | type: ArrayConstructor; |
| | | value?: (string | import("./type").ActionSheetItem)[]; |
| | | required?: boolean; |
| | | }; |
| | | popupProps?: { |
| | | type: ObjectConstructor; |
| | | value?: import("../popup").TdPopupProps; |
| | | }; |
| | | showCancel?: { |
| | | type: BooleanConstructor; |
| | | value?: boolean; |
| | | }; |
| | | showOverlay?: { |
| | | type: BooleanConstructor; |
| | | value?: boolean; |
| | | }; |
| | |
| | | type: StringConstructor; |
| | | value?: "list" | "grid"; |
| | | }; |
| | | visible: { |
| | | usingCustomNavbar?: { |
| | | type: BooleanConstructor; |
| | | value?: boolean; |
| | | }; |
| | | defaultVisible: { |
| | | visible?: { |
| | | type: BooleanConstructor; |
| | | value?: boolean; |
| | | }; |
| | | popupProps: { |
| | | type: ObjectConstructor; |
| | | value?: object; |
| | | defaultVisible?: { |
| | | type: BooleanConstructor; |
| | | value?: boolean; |
| | | }; |
| | | }; |
| | | data: { |
| | |
| | | key: string; |
| | | event: string; |
| | | }[]; |
| | | ready(): void; |
| | | observers: { |
| | | items(): void; |
| | | }; |
| | | lifetimes: { |
| | | ready(): void; |
| | | }; |
| | | methods: { |
| | | onSwiperChange(e: WechatMiniprogram.TouchEvent): void; |
| | | init(): void; |
| | | memoInitialData(): void; |
| | | splitGridThemeActions(): void; |
| | | show(options: any): void; |
| | | memoInitialData(): void; |
| | | close(): void; |
| | | onPopupVisibleChange({ detail }: { |
| | | detail: any; |
| | | }): void; |
| | | onSwiperChange(e: WechatMiniprogram.TouchEvent): void; |
| | | onSelect(event: WechatMiniprogram.TouchEvent): void; |
| | | onCancel(): void; |
| | | }; |