0.5.4 • Published 3 years ago

morphing-pointer v0.5.4

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

Morphing pointer (experimental project)

This is a custom pointer in iPadOS style

Installation

Install with npm:

npm install --save morphing-pointer

Example of use

Init Morphing Pointer in your app

import { initMorphingPointer } from 'circular-revealer';

initMorphingPointer();

And use different triggers in html to add different types of animation

animation typedata attr
highlightdata-pointer-type="highlight"
liftdata-pointer-type="lift"
contentdata-pointer-type="content"
<button data-pointer-type="lift">Button</button>
<button data-pointer-type="highlight">Another button</button>
<p data-pointer-type="content">text</p>

Inspired by Pointers (iPadOS)

0.5.4

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago