1.0.0 • Published 2 years ago
@virtuoid/tile v1.0.0
Fun With JavaScript - 'Tile' class
This repository is for the 'Tile' classes used in the Fun with JavaScript series.
Versions
1.0.0 : Initial Version
Installation
npm install --save @virtuoid/tile
Usage
import Tile from '@virtuoid/tile';
const id = 'myTile'; // string
const contents = 'myContents'; // this can be anything!
const myTile = new Tile({ id, contents });
Properties
Name | R/W | Description |
---|---|---|
id | RO | The assigned id. Default is a UUID |
contents | RW | The contents of the tile. Default is null. |
Methods
No methods are associated with this class.
Github
https://github.com/TheVirtuoid/fwjs-tile
1.0.0
2 years ago