@cloudfour/transition-hidden-element
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@cloudfour/transition-hidden-element", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A module to help you transition elements that are `hidden` or `display: none`", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -47,7 +47,13 @@ # Transition Hidden Element | ||
Here's a simple example showing importing the module, initializing a menu, and then showing and hiding it based on user interaction: | ||
First, install the package from npm: | ||
``` | ||
npm i @cloudfour/transition-hidden-element --save | ||
``` | ||
Then you can get started. Here's a simple example showing importing the module, initializing a menu, and then showing and hiding it based on user interaction: | ||
```js | ||
// Import our dependency | ||
import { transitionHiddenElement } from @cloudfour/'transition-hidden-element'; | ||
import { transitionHiddenElement } from '@cloudfour/transition-hidden-element'; | ||
@@ -69,8 +75,2 @@ // Initialize our menu | ||
## Installation | ||
TODO: Publish to npm and include installation and import steps | ||
This utility exposes a factory function with a few configuration options. | ||
## Initialization Options | ||
@@ -77,0 +77,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31200