ngx-bootstrap icon indicating copy to clipboard operation
ngx-bootstrap copied to clipboard

alert.component.ts uses <template> instead of <ng-template>

Open newerik opened this issue 9 years ago • 2 comments

Just a small warning what I noticed during the last build of my project (using ngx-bootstrap):

The <template> element is deprecated. Use <ng-template> instead ("
[WARNING ->]<template [ngIf]="!isClosed">

Affected file: https://github.com/valor-software/ngx-bootstrap/blob/development/src/alert/alert.component.ts

newerik avatar Aug 09 '17 12:08 newerik

Please search for same issues before opening a new one...

For Angular 4 just use the @next version which fixes this warning. This cannot be fixed in 1.X.X because it would break Angular 2 support. You can use "ngx-bootstrap": "2.0.0-beta.3" or npm install ngx-bootstrap@next

IlyaSurmay avatar Aug 09 '17 12:08 IlyaSurmay

wtf every asshole gives a link with no solution "please search for same issues before .."

hussainwali74 avatar Aug 23 '17 15:08 hussainwali74