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/blurstate. Visualized in outlined ring.arrive/leavestate. Visualized in dimmed color.- Customizable via
@cssfn/css-config.
Installation
Using npm:
npm i @nodestrap/controlSupport 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.