image-preview-options.d.ts 723 B

12345678910111213141516171819202122232425
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { Direction } from '@angular/cdk/bidi';
  6. export declare class NzImagePreviewOptions {
  7. nzKeyboard?: boolean;
  8. nzNoAnimation?: boolean;
  9. nzMaskClosable?: boolean;
  10. nzCloseOnNavigation?: boolean;
  11. nzZIndex?: number;
  12. nzZoom?: number;
  13. nzRotate?: number;
  14. nzFlipHorizontally?: boolean;
  15. nzFlipVertically?: boolean;
  16. nzScaleStep?: number;
  17. nzDirection?: Direction;
  18. }
  19. export interface NzImage {
  20. src: string;
  21. srcset?: string;
  22. alt?: string;
  23. width?: string | number;
  24. height?: string | number;
  25. }