ooade / pimg

:camera: Mini Image Lazy Loader for P(R)eact and Vue
https://pimg.surge.sh
MIT License
99 stars 11 forks source link

Expose a singleton to save configs #14

Closed ooade closed 6 years ago

ooade commented 6 years ago

Yay! This would be great. It'd be a nice addition to v1.0.0. By exposing a config, we can do stuffs like toggleDataSaver mode easily or getting the general classNames for the progressive images without having to keep typing this information every single time :sweat_smile:

ooade commented 6 years ago

What do you think @codeshifu ?