1.0.0 • Published 2 years ago

@virtuoid/tile v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

NameR/WDescription
idROThe assigned id. Default is a UUID
contentsRWThe 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