12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- import { SuperComponent } from '../common/src/index';
- export default class ActionSheet extends SuperComponent {
- static show: (options: import("./show").ActionSheetShowOption) => WechatMiniprogram.Component.TrivialInstance;
- externalClasses: string[];
- properties: {
- cancelText?: {
- type: StringConstructor;
- value?: string;
- };
- count?: {
- type: NumberConstructor;
- value?: number;
- };
- items: {
- type: ArrayConstructor;
- value?: (string | import("./type").ActionSheetItem)[];
- };
- showCancel?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- theme?: {
- type: StringConstructor;
- value?: "list" | "grid";
- };
- visible: {
- type: BooleanConstructor;
- value?: boolean;
- };
- defaultVisible: {
- type: BooleanConstructor;
- value?: boolean;
- };
- };
- data: {
- prefix: string;
- classPrefix: string;
- gridThemeItems: any[];
- currentSwiperIndex: number;
- };
- controlledProps: {
- key: string;
- event: string;
- }[];
- ready(): void;
- methods: {
- onSwiperChange(e: WechatMiniprogram.TouchEvent): void;
- splitGridThemeActions(): void;
- show(options: any): void;
- memoInitialData(): void;
- close(): void;
- onPopupVisibleChange({ detail }: {
- detail: any;
- }): void;
- onSelect(event: WechatMiniprogram.TouchEvent): void;
- onCancel(): void;
- };
- }
|