Issue #142  (DOMTokenList, Text Editors, Data Tools, JS Utils)04/07/16

The classList object, which I've discussed before, returns what's referred to as a DOMTokenList, which is a DOM interface that opens up the possibility of using various methods, like add(), remove(), and toggle(), which are commonly used with classList.

But classList is not the only DOM feature that returns a DOMTokenList. The following objects also return a DOMTokenList:
  • relList for HTML <link> elements
  • relList for anchors (hyperlink elements)
  • relList for HTML <area> elements
A relList is a collection of the rel attribute values on these various elements. Right now only Firefox and Chrome 50+ support these. In each case, you'll have access to the same methods that are customarily used with classList. The full list of methods and properties includes:
  • length
  • item()
  • contains()
  • add()
  • remove()
  • toggle()
  • replace()
  • supports()
  • value
As long as the browser supports the feature that returns the DOMTokenList, it should also support all of the above methods. More info:
Now on to this week's tools!
70 JavaScript and DOM Tips for $5 (EPUB, MOBI, PDF)

Text Editors and Code Playgrounds

"Aims to be a modern, legacy free, simple yet efficient vim-like editor."

A GUI to help you build CSS keyframe animations.

"Drag and drop to create native, fast, reliable apps."

Fiddle Salad
"An online playground with an instantly ready coding environment. Combine language preprocessors, CSS, HTML and JavaScript to create and share coding examples."

Atomic Chrome
Chrome extensions that "allows you to edit textareas and content editable elements directly in Atom. When invoked, it will open a new tab in atom, which will be synchronized with the element focused."

PlatformIO IDE
"The next generation integrated development environment for IoT. It's built on top of GitHub's Atom 'hackable' text editor."

Manifest Generator
A tool to generate a customizable web manifest file.

"A modern design tool for Mac which combines design and development. Build native mobile apps with unprecedented power and ease of use."
"The in-browser React testing environment."
384 Pages of CSS for $7 (PDF E-Book)

Content, Files, App Data, etc.

"JSON to JSDoc Converter – Custom type definitions directly from JSON objects."

"Online tools to convert popular data formats. Persist your session for later, share with co-workers." Includes CSV to JSON, SQL to JSON, and a JSON Beautifier.

"Web based tool to extract data from plots, images, and maps."

"This API connects to your [Google] spreadsheet and sanitizes the data, providing simple, readable JSON, that accepts queries, for you to use in your app."

"A Promise based lightweight database with MongoDB query syntax, written on ES6."

"A lightweight dependency-free JavaScript micro-library for creating collapsable tree-lists from a JSON file."

"Secure peer-to-peer file transfer directly from your browser."

"DOM Traversing and Scraping using GraphQL."

"A high-quality PDF exporter for HTML5 presentation frameworks."

JavaScript Utilities and Mini Libraries

Library to create "poppers" (popovers, tooltips, etc.) with just a line of code.

Add step-by-step guide and feature intros to your product pages and web apps.

Library to produce an editable "sketch pad" drawing environment on a web page.

"A very small JS/CSS library that lets article writers hide text behind a link, and allows readers to click that link to expand the text."

"Smoothly scroll to positions on your website, under 350 bytes, no dependencies."

Library for converting one key to another.

Service Worker Toolbox
From Google, a collection of tools that "provides some simple helpers for use in creating your own service workers."

"Modular Lodash builds without the hassle."

"A simple library that models Spring dynamics for the purpose of driving physical animations."
384 Pages of CSS for $7 (PDF E-Book)

A Tweet for Thought

Lea Verou with an interesting thought on the technology we use.

Suggestions / Corrections

Made something? Send links via Twitter @WebToolsWeekly (details here). No tutorials or articles, please. If you have any suggestions for improvement or corrections, feel free to reply to this email.

Before I Go...

Shopping for a good VPN? This VPN Comparison Chart might help.

Thanks to all for subscribing and reading!

Keep tooling,
Copyright © Web Tools Weekly, All rights reserved.

Email Marketing Powered by MailChimp