Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 658 Bytes

readme.md

File metadata and controls

34 lines (21 loc) · 658 Bytes

Point it out! (pointitout)

A tiny, tree-shakeable, zero-dependencies JavaScript library to mark/point out DOM elements using absolutely positioned elements or procedurally generated SVGs.

NOTE: in a very early stage of development

API documentation

You can read the docs at https://alexvgjm.github.io/point-it-out-docs

$ npm install pointitout

Basic usage

Rects

import { create } from 'pointitout'

create('rect', { target: '.a-css-selector' })

Arrows

import { create } from 'pointitout'

create('arrow', { target: '.a-css-selector' })

There are multiple options for each pointer type. Read the docs.