@metreeca/tile
    Preparing search index...

    Module @metreeca/tile-cell - v0.3.0

    @metreeca/tile-cell

    npm

    Preact widgets and controls for @metreeca/tile interfaces.

    A consumer populates a screen with the single-purpose elements an app repeats: labels, icons, buttons, fields and flags that answer how a value is shown and changed, and takes from here the defaults a widget of its own has its controls observe, and the attribute values and event handlers it builds out of state. A widget takes its behaviour from the state it observes, so what it does is retuned without touching where it sits or what it looks like.

    Styling is structural only: what a widget needs to work, with colour, type and spacing left to @metreeca/tile or to whoever styles the app.

    Installation

    npm install preact               # peer dependency
    npm install @metreeca/tile-cell # this package
    Warning

    TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json. The legacy "node" resolver is not supported.

    Usage

    Note

    This section introduces essential concepts; for complete coverage, see the API reference.

    {TBD: usage overview and examples}

    Support

    • open an issue to report a problem or to suggest a new feature
    • start a discussion to ask a how-to question or to share an idea

    License

    This project is licensed under the Apache 2.0 License – see LICENSE file for details.

    button

    Button.

    fault

    Fault.

    hint

    Hint.

    icon

    Icons.

    index

    Preact widgets and controls.

    Link.

    Logo.

    note

    Note.