ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
23 lines (22 loc) • 631 B
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { Direction } from '@angular/cdk/bidi';
export declare class NzImagePreviewOptions {
nzKeyboard?: boolean;
nzNoAnimation?: boolean;
nzMaskClosable?: boolean;
nzCloseOnNavigation?: boolean;
nzZIndex?: number;
nzZoom?: number;
nzRotate?: number;
nzDirection?: Direction;
}
export interface NzImage {
src: string;
srcset?: string;
alt?: string;
width?: string | number;
height?: string | number;
}