3 ms·
(faces.js dev here) A nice thing about the current API is the face objects can be trivially serialized to JSON, which I need do in the application I originally
by streptomycin 3y ago
(faces.js dev here)
A nice thing about the current API is the face objects can be trivially serialized to JSON, which I need do in the application I originally wrote the library for.
Also the `display` function works with a DOM element as the first argument too, in which case you don't need to make up an ID. That's how I use it.
That being said, the API might not be perfect, but you should at least appreciate that it's been stable since v1 in 2015!
- nox101 3y agoSee other response this thread why passing in a DOM element is also not a good API. That said, I wouldn't have spoken up if someone hadn't claimed the API was good. Any one who makes a useful library that provides useful functionality people want is great! > it's been stable since v1 in 2015! That's awesome!