| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- 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?: "left" | "center";
- };
- cancelText?: {
- type: StringConstructor;
- value?: string;
- };
- count?: {
- type: NumberConstructor;
- value?: number;
- };
- description?: {
- type: StringConstructor;
- value?: string;
- };
- 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;
- };
- theme?: {
- type: StringConstructor;
- value?: "list" | "grid";
- };
- usingCustomNavbar?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- visible?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- defaultVisible?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- };
- data: {
- prefix: string;
- classPrefix: string;
- gridThemeItems: any[];
- currentSwiperIndex: number;
- defaultPopUpProps: {};
- defaultPopUpzIndex: number;
- };
- controlledProps: {
- key: string;
- event: string;
- }[];
- observers: {
- 'visible, items'(visible: boolean): void;
- };
- methods: {
- init(): void;
- memoInitialData(): void;
- splitGridThemeActions(): void;
- show(options: any): void;
- close(): void;
- onPopupVisibleChange({ detail }: {
- detail: any;
- }): void;
- onSwiperChange(e: WechatMiniprogram.TouchEvent): void;
- onSelect(event: WechatMiniprogram.TouchEvent): void;
- onCancel(): void;
- };
- }
|