Page 1 of 2

Angularjs bootstrap image class fill in with a variable?

Posted: Wed Sep 30, 2015 3:21 am
by Elvin Chu

I set a variable call filter and fill in the image class, also I set a css class call filtergray and put the filtergray-filter but the image didn't effect.

Image Image Image Image Image


Angularjs bootstrap image class fill in with a variable?

Posted: Wed Sep 30, 2015 3:22 am
by Elvin Chu

Angularjs bootstrap image class fill in with a variable?

Posted: Wed Sep 30, 2015 1:10 pm
by Serhii Kulibaba

Hello,

Please use attribute ng-class for that functionality: https://docs.angularjs.org/api/ng/dir...


Angularjs bootstrap image class fill in with a variable?

Posted: Wed Sep 30, 2015 1:11 pm
by Elvin Chu

Ok , I will try thanks !


Angularjs bootstrap image class fill in with a variable?

Posted: Wed Sep 30, 2015 1:42 pm
by Elvin Chu

Hello, I just trued but the image didn't reload


Angularjs bootstrap image class fill in with a variable?

Posted: Wed Sep 30, 2015 1:43 pm
by Elvin Chu

And I think that ng-class didn't effect anything coz I fill in the CSS in the ng-class it didn't work too, but filling in class it work


Angularjs bootstrap image class fill in with a variable?

Posted: Wed Sep 30, 2015 1:57 pm
by Elvin Chu

ng-style did work but ng-class didn't, but the image didn't reload


Angularjs bootstrap image class fill in with a variable?

Posted: Thu Oct 01, 2015 6:09 am
by Serhii Kulibaba

Could you clarify what have you tried and what exactly does not work? Could you please provide more details, screen shots would also help.


Angularjs bootstrap image class fill in with a variable?

Posted: Thu Oct 01, 2015 6:11 am
by Elvin Chu

Hello,
I am trying to make a social network app like Instagram, so I need a image filter like Instagram , that took a picture and filter the picture


Angularjs bootstrap image class fill in with a variable?

Posted: Fri Oct 02, 2015 7:50 am
by Serhii Kulibaba

Could you clarify what have you tried and what exactly does not work?