JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q67897F
  • License ISC

A generic element with focus/blur and arrive/leave state.

Package Exports

  • @nodestrap/control
  • @nodestrap/control/dist/Control.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nodestrap/control) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

<Control />

A generic element with focus/blur and arrive/leave state.

Preview

<Control tag='span' theme='primary' size='lg' gradient={true} outlined={true} focus={true} arrive={true} >
    hello world
</Control>

Rendered to:

<span class="c1 thPrimary szLg gradient outlined focused arrived">
    hello world
</span>

Features

  • Includes all features in <Indicator />.
  • focus/blur state. Visualized in outlined ring.
  • arrive/leave state. Visualized in dimmed color.
  • Customizable via @cssfn/css-config.

Installation

Using npm:

npm i @nodestrap/control

Support Us

If you feel our lib is useful for your projects,
please make a donation to avoid our project from extinction.

We always maintain our projects as long as we're still alive.

[Make a donation]