/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface PageContainer { /** * 是否显示容器组件。 */ show?: boolean; /** * 动画时长,单位毫秒。 */ duration?: number; /** * z-index 层级。 */ "z-index"?: number; /** * 是否显示遮罩层。 */ overlay?: boolean; /** * 弹出位置。 * 可选值: top、bottom、right、center。 */ position?: string; /** * 是否显示圆角。 */ round?: boolean; /** * 是否在下滑一段距离后关闭。 */ "close-on-slide-down"?: boolean; /** * 自定义遮罩层样式。 */ "overlay-style"?: string; /** * 自定义弹出层样式。 */ "custom-style"?: string; /** * 进入前触发。 */ onBeforeEnter?: () => void; /** * 进入中触发。 */ onEnter?: () => void; /** * 进入被打断时触发(通过 a: if 打断时不会触发)。 */ onEnterCancelled?: () => void; /** * 进入后触发。 */ onAfterEnter?: () => void; /** * 离开前触发。 */ onBeforeLeave?: () => void; /** * 离开中触发。 */ onLeave?: () => void; /** * 离开被打断时触发(通过 a: if 打断时不会触发)。 */ onLeaveCancelled?: () => void; /** * 离开后触发。 */ onAfterLeave?: () => void; /** * 点击遮罩层时触发。 */ onClickOverlay?: () => void; }