ng-zorro-antd-mobile
Version:
An enterprise-class mobile UI components based on Ant Design and Angular
30 lines (29 loc) • 1.35 kB
TypeScript
import { OnInit, OnDestroy, ElementRef, TemplateRef } from '@angular/core';
import { Subject } from 'rxjs';
import { LocaleProviderService } from 'ng-zorro-antd-mobile/locale-provider';
import { ActionSheetRef } from './action-sheet-ref.class';
import * as i0 from "@angular/core";
export declare class ActionSheetComponent<T = any, R = any> extends ActionSheetRef<T, R> implements OnInit, OnDestroy {
private localeProviderService;
elementRef: ElementRef;
unsubscribe$: Subject<void>;
option: any;
constructor(localeProviderService: LocaleProviderService, elementRef: ElementRef);
ngOnInit(): void;
localeProvider(): void;
onPress(index: any, rowIndex: number, event: any): void;
showShare(option: any): {
[x: string]: boolean;
};
setActiveClassName(option: any, suffix: any): string[];
isNoTitle(value: string | TemplateRef<any>): boolean;
isTemplateRef(value: any): boolean;
isArray(options: any, value: any): boolean;
getInstance(): ActionSheetComponent;
getElement(): HTMLElement;
close(): void;
destroy(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ActionSheetComponent<any, any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ActionSheetComponent<any, any>, "ActionSheet", never, {}, {}, never, never, false, never>;
}