0.1.5 • Published 4 years ago

iposcursor v0.1.5

Weekly downloads
13
License
MIT
Repository
github
Last release
4 years ago

iposcursor an iPadOS 13.4 Cursor for the web

Simple implementation of iPadOS 13.4 Cursor built with web technologies.

See demo (only desktop browser)

Installation

From NPM

npm install iposcursor --save

From CDN

<!-- Include anywhere inside head tag -->
<link rel="stylesheet" href="https://unpkg.com/iposcursor/dist/css/iposcursor.min.css">
<!-- Include at the end of body tag -->
<script src="https://unpkg.com/iposcursor/dist/iposcursor.min.js"></script>

Usage

ES and TS modules

import { IposCursor, create } from 'iposcursor';

let cursor = new IposCursor({element : 'elementId'});
cursor.suscribe();
// or
let cursor = create({element : 'elementId'});
cursor.suscribe();

Browser

<html>
<head>
  <!-- your awesomes styles, meta, etc -->
  <link rel="stylesheet" href="node_modules/iposcursor/css/iposcursor.min.css">
</head>
  <body>
  <!-- your awesome code -->
  <!-- ... -->
  <script src="node_modules/iposcursor/iposcursor.min.js"></script>
  <script>
    let cursor = iposcursor.create({element : 'elementId'});
    cursor.suscribe();
  </script>
  </body>
<html>
0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago