How to use 'angular conditional text' in JavaScript

Every line of 'angular conditional text' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
187set ngIfElse(templateRef: TemplateRef>|null) {
188 assertTemplate('ngIfElse', templateRef);
189 this._elseTemplateRef = templateRef;
190 this._elseViewRef = null; // clear previous view if any.
191 this._updateView();
192}
56public getProcessedText(text: string): string {
57 return this.locOwner ? this.locOwner.getProcessedText(text) : text;
58}

Related snippets