TwicPics / components

A Web component library that brings the power of TwicPics to your favorite web framework.
MIT License
53 stars 2 forks source link

Wrong documentation on ratio format #17

Closed existe-deja closed 2 years ago

existe-deja commented 2 years ago

Hi,

I just noticed a misinformation inside the ratio documentation. It indicates values should be separated by : but when I do this I get an error. Instead / works fine.

Thanks

existe-deja commented 2 years ago

Got it, I was applying url API params to components. URL only supports : and components /. It can lead to confusion.

jaubourg commented 2 years ago

We should probably support both : and / in the components ratio attribute. We used : in the URL API because / is the separator between transformations there.