Reference

Everything css-doodle adds on top of CSS. Anything not listed here is passed through to the browser as plain CSS.

On the element

Attributes written in HTML on the <css-doodle> tag.

Attributes

HTML attributes on the <css-doodle> element.

In the doodle code

Written between the tags: the directives that set up the grid, the selectors that pick cells, and the functions that give each cell its value.

Properties

Directives that css-doodle handles instead of emitting as CSS.

Selectors

Target the component, the grid container, or a subset of cells.

Functions

Values computed per cell: position, sequences, randomness, SVG and more.

From JavaScript

Reach a doodle that is already on the page, and listen to what it reports.

JS APIs

Methods and properties on the element, and the package exports.

Events

Custom events dispatched on the element.