@angular/cdk/overlay#OverlayPositionBuilder TypeScript Examples

The following examples show how to use @angular/cdk/overlay#OverlayPositionBuilder. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: np-data-grid.component.ts    From np-ui-lib with MIT License 6 votes vote down vote up
constructor(
    private filterService: NpFilterService,
    private utilityService: NpGridUtilityService,
    private oDataService: NpODataService,
    private fileService: NpFileService,
    public overlay: Overlay,
    private viewContainerRef: ViewContainerRef,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private dialogService: NpDialogService,
    private translationsService: NpTranslationsService,
    private elementRef: ElementRef
  ) {
    this.sortColumnList = [];
    this.filtersList = Filters;
    this.filterColumnList = [];
    this.stateList = [];
    this.currentStateName = "";
    this.isFilterAvailable = false;
    this.showFilters = true;
  }
Example #2
Source File: np-date-picker.component.ts    From np-ui-lib with MIT License 6 votes vote down vote up
constructor(
    public overlay: Overlay,
    private viewContainerRef: ViewContainerRef,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef,
    private utility: NpUtilityService
  ) {
    this.monthsList = [
      { key: 0, value: "January" },
      { key: 1, value: "February" },
      { key: 2, value: "March" },
      { key: 3, value: "April" },
      { key: 4, value: "May" },
      { key: 5, value: "June" },
      { key: 6, value: "July" },
      { key: 7, value: "August" },
      { key: 8, value: "September" },
      { key: 9, value: "October" },
      { key: 10, value: "November" },
      { key: 11, value: "December" },
    ];
    this.today = new Date();
    this.today.setHours(0, 0, 0, 0);
  }
Example #3
Source File: np-auto-complete.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    public overlay: Overlay,
    private viewContainerRef: ViewContainerRef,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef
  ) { }
Example #4
Source File: np-color-picker.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    public overlay: Overlay,
    private viewContainerRef: ViewContainerRef,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef
  ) { }
Example #5
Source File: np-dialog.service.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    private overlay: Overlay,
    private injector: Injector,
    private overlayPositionBuilder: OverlayPositionBuilder
  ) { }
Example #6
Source File: np-dropdown.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    public overlay: Overlay,
    private viewContainerRef: ViewContainerRef,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef,
    private utility: NpUtilityService
  ) { }
Example #7
Source File: np-popup-menubar.directive.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    private overlay: Overlay,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef
  ) { }
Example #8
Source File: np-modal.service.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    private overlay: Overlay,
    private injector: Injector,
    private overlayPositionBuilder: OverlayPositionBuilder
  ) { }
Example #9
Source File: np-popover.directive.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    private overlay: Overlay,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef,
    private utility: NpUtilityService
  ) { }
Example #10
Source File: np-sidepanel.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    public overlay: Overlay,
    private viewContainerRef: ViewContainerRef,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private sidepanelService: NpSidepanelService
  ) { }
Example #11
Source File: np-tags.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    public overlay: Overlay,
    private viewContainerRef: ViewContainerRef,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef,
    private utility: NpUtilityService
  ) { }
Example #12
Source File: np-time-picker.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    public overlay: Overlay,
    private viewContainerRef: ViewContainerRef,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef
  ) { }
Example #13
Source File: np-tooltip.directive.ts    From np-ui-lib with MIT License 5 votes vote down vote up
constructor(
    private overlay: Overlay,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef,
    private utility: NpUtilityService
  ) { }
Example #14
Source File: image-tooltip.directive.ts    From radiopanel with GNU General Public License v3.0 5 votes vote down vote up
constructor(
		private overlayPositionBuilder: OverlayPositionBuilder,
		private elementRef: ElementRef,
		private overlay: Overlay
	) {}
Example #15
Source File: tooltip.directive.ts    From sba-angular with MIT License 5 votes vote down vote up
constructor(
    private overlay: Overlay,
    private overlayPositionBuilder: OverlayPositionBuilder,
    private elementRef: ElementRef
  ) {}