Lattice Grid Buy a licence

The grid (rendering) · console.warn

Unknown icon '{name}'; drew a blank glyph in its place. Register it with grid.icons or config.icons.

Printed by The grid (rendering), prefixed [lattice], since 1.0.1.

Warnings referenceicon:*

Identifier
icon:*
Raised by
The grid (rendering)
Since
1.0.1

What happened

An icon name reached the registry and no glyph is registered under it. The renderer draws the blank glyph so the layout is unchanged - which is exactly why it has to say something: a mistyped icon on a tool-panel action would otherwise be an empty, clickable slot with nothing in the console to explain it. updateIcon refuses the swap for the same reason and under the same key, so one bad name is one line however often it is drawn.

The fix

Register the icon before it is used, or spell a built-in name. grid.icons.names() lists what is registered.

The smallest fix

createGrid(el, { icons: { rocket: { viewBox: '0 0 24 24', paths: ['M…'] } } });

Reference

Covered in full at the API reference.