1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

How to intellisense styles properties in angular like react does?

Discussão em 'Angular' iniciado por Davi Americo, Outubro 7, 2024.

  1. Davi Americo

    Davi Americo Guest

    On react for some reasons I usually style my components in line by style={{}} when I'm assigning style properties to this prop the vscode autocompletes the style property, for example if I type back... it'll suggest me backgroundColor etc... when I'm on angular I see ngStyle accepts a generic object, so intellisense doesnt suggest me any style property, is there any way to type it in order to use intellisense?

    I tried to use tailwind css for inline styles but it's class based so it has a low specifity to my use cases.

    Continue reading...

Compartilhe esta Página