role-components
v2.0.2
Published
A variety of simple components that match an aria-role
Downloads
1,116
Readme
Purpose
A collection of small reusable components.
Installation
npm install role-components
Usage
// Register everything
import "role-components"
// Auto-registering
import "role-components/exports/tooltip/tooltip-register.js"
// Manual-Registering
import Tooltip from "role-components/exports/tooltip/tooltip.js"
Tooltip.define()
// Renaming and registering
import Tooltip from "role-components/exports/tooltip/tooltip.js"
Tooltip.define("my-tooltip")