UNPKG

ng-zorro-antd-mobile

Version:

An enterprise-class mobile UI components based on Ant Design and Angular

43 lines (42 loc) 1.68 kB
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import * as i0 from "@angular/core"; export declare class SwipeActionComponent implements OnInit, AfterViewInit, OnDestroy { prefixCls: string; wrapCls: object; private _swiping; private _openedLeft; private _openedRight; private _btnsLeftWidth; private _btnsRightWidth; private _needShowLeft; private _needShowRight; private _startX; leftBtnRef: any; rightBtnRef: any; content: any; cover: any; left: Array<object>; right: Array<object>; autoClose: boolean; disabled: boolean; onOpen: EventEmitter<any>; onClose: EventEmitter<any>; constructor(); setClassMap(): void; onCloseSwipe: (ev: any) => void; close(): void; setBtnStyle(value: any): void; getContentEasing(value: any, limit: any): any; onTouchStart(e: any): void; onTouchMove(e: any): void; onTouchEnd(e: any): void; doOpenLeft(): void; doOpenRight(): void; onBtnClick(ev: any, btn: any): void; open(value: any, openedLeft: any, openedRight: any): void; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SwipeActionComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SwipeActionComponent, "SwipeAction, nzm-swipe-action", never, { "left": { "alias": "left"; "required": false; }; "right": { "alias": "right"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onOpen": "onOpen"; "onClose": "onClose"; }, never, ["*"], false, never>; }