riku
18 小时以前 cf4787bc8188cd0acc8a42793730b076742f29c1
miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.d.ts
@@ -1,11 +1,12 @@
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;
@@ -22,8 +23,17 @@
        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;
        };
@@ -31,17 +41,17 @@
            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: {
@@ -56,16 +66,22 @@
        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;
    };