File

src/app/component/popover/popover.config.ts

Index

Properties

Properties

bottom
bottom: string
Type : string
Optional
left
left: string
Type : string
Optional
right
right: string
Type : string
Optional
top
top: string
Type : string
Optional
import { Direction } from '@angular/cdk/bidi';
import { ScrollStrategy } from '@angular/cdk/overlay';

export type scrollStrategy = 'noop' | 'block' | 'reposition' | 'close';
export type horizontalPosition =
  | 'before'
  | 'start'
  | 'center'
  | 'end'
  | 'after';
export type verticalPosition = 'above' | 'start' | 'center' | 'end' | 'below';

export interface PopoverPosition {
  top?: string;
  bottom?: string;
  left?: string;
  right?: string;
}

export class PopoverConfig {
  hasBackdrop?: boolean = false;
  position?: PopoverPosition;
  direction?: Direction;
  scrollStrategy?: ScrollStrategy;
}

result-matching ""

    No results matching ""