An Interest In:
Web News this Week
- May 1, 2024
- April 30, 2024
- April 29, 2024
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
February 25, 2017 12:46 pm GMT
Original Link: https://www.smashingmagazine.com/2017/02/designing-html-apis/
HTML APIs: What They Are And How To Design A Good One
Lea Verou writes about the design of HTML APIs and how we might write better documentation for web designers. An HTML API is term for a JavaScript library that is configured and controlled through HTML rather than through JavaScript. For example <div data-open-modal="#modal"></div>
might tell a library that this element is in charge of opening a modal. There is no configuration or initting other than loading the library itself.
My favorite part of this piece is where Lea confronts what …
HTML APIs: What They Are And How To Design A Good One is a post from CSS-Tricks
Original Link: https://www.smashingmagazine.com/2017/02/designing-html-apis/
Share this article:
Tweet
View Full Article