-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hidden] does not work on any elements including class="glyphicon" #193
Comments
class="glyphicon"
|
Refer to angular/angular#7300 |
@hongbo-miao can not hide? add *ngIf |
@valorkin Because I read from here..
Right now I am using a temporary way, adding this in the main.css
|
I think you can also use ngClass to achieve your goal: BS3 (hidden): BS4 (hidden-xs-up): |
@edinfazlic that is a good alternative way! thanks |
@valorkin Right now I think this is not related with ng2-bootstrap at all, it is bootstrap thing. Thanks for your time! |
I am not sure I should report here or Angular 2 github. Let me know if this is not the place to report. Thanks
[hidden]
does not work on any elements includingclass="glyphicon"
.This cannot hide, so not works
<span [hidden]="true" class="glyphicon glyphicon-plus-sign"></span>
This can hide, works well
<span [hidden]="true">test</span>
The text was updated successfully, but these errors were encountered: