mdbassit / Coloris

A lightweight and elegant JavaScript color picker. Written in vanilla ES6, no dependencies. Accessible.
https://coloris.js.org/examples.html
MIT License
443 stars 58 forks source link

Reading option with attributes #113

Closed charliefancelli closed 1 year ago

charliefancelli commented 1 year ago

Hi,

Is it possible to read the configuration options directly from the attribute? Indeed, this allows to maintain automatic functionality without adding customization to the JavaScript.

Example : image

mdbassit commented 1 year ago

It is not possible.