This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if EXIST “%~dp0\node.exe” ( | |
“%~dp0\node.exe” — max_old_space_size=4096 “%~dp0\node_modules@angular\cli\bin\ng” %* | |
) ELSE ( | |
@SETLOCAL | |
@set PATHEXT=%PATHEXT:;.JS;=;% | |
node — max_old_space_size=4096 “%~dp0\node_modules@angular\cli\bin\ng” %* | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-form-field color="primary" class="search-box" [floatLabel]="floatPlaceholder"> | |
<mat-icon class="input-icon" matPrefix fontSet="fa" fontIcon="fa-search"></mat-icon> | |
<input matInput [formControl]="input" [disabled]="disabled" autocomplete="off" (focus)="showPopUp()" [placeholder]="placeholder" | |
/> | |
</mat-form-field> | |
<ng-template #multiSelectFor> | |
<!-- Place where your options will go --> | |
</ng-template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Portal, TemplatePortal } from '@angular/cdk/portal'; | |
// [redacted] | |
showPopUp() { | |
if ( !this._overlayOpened) { | |
this._startAnimation(); | |
this.input.setValue( '', { emitEvent: true } ); | |
this._overlayOpened = true; | |
this._createOverlay().attach( this._portal ); | |
} |