0.0.3 • Published 26 days ago

@robertakarobin/path-data-polyfill v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
26 days ago

@robertakarobin/path-data-polyfill

A wrapper around path-data-polyfill that just declares its types so it's Typescript-compatible.

Usage

import '@robertakarobin/path-data-polyfill';

const path = document.querySelector(`path`)!;
path.getPathData({ normalize: true }); // By importing this package, `getPathData` and `setPathData` have been added to the SVGPathElement prototype
0.0.3

26 days ago

0.0.2

26 days ago

0.0.1

26 days ago