Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 694 Bytes

Letter.README.md

File metadata and controls

42 lines (23 loc) · 694 Bytes

Component: Letter

Component type: 'letter'

Description

The letter component displays a letter (or word) on the board. This is one of / the main component for magnetJS for the current time.

Config (Array)

text

This defines the text to be displayed on the board

color

The theme id for the item (see Themes)

x

The x location of the item on the board (0 for center).

y

The y location of the item on the board (0 for center).

Config (Spawn)

text

An array of the possible text to display on the board.

color

An array of potential theme ids for the items (see Themes)

type

The component type (in this case 'letter')