posit-dev / py-faicons

An interface to Font Awesome for use in PyShiny
MIT License
5 stars 1 forks source link

Feature request: Plan to include `class` options? e.g., animation? #5

Closed vnijs closed 1 year ago

vnijs commented 1 year ago

In R-shiny it is possible to specify a class option that allows for animation of Font Awesome icons. Can that be added for py-faicons as well? See example icon animation below and the R-shiny function definition for icon

https://fontawesome.com/v6/icons/rotate?f=classic&s=solid&an=spin

https://github.com/rstudio/shiny/blob/e7b830755ac6da2773c9ff15fc6f9395c0c4bf87/R/bootstrap.R#L1293C4-L1316