How is the ionic [style] directive used?

1

I once read in a documentation that you could use an ionic or angular style directive, I do not remember well, I just remember that it was like this: [style.width]='expresión' and I can not find the documentation, does anyone know how to use it?

    
asked by Daniel Enrique Rodriguez Caste 23.09.2017 в 01:48
source

1 answer

1

Try this: -

[style]="{'width': '100%'}";
    
answered by 26.09.2017 в 21:50