0.0.3 • Published 1 year ago

@robertakarobin/path-data-polyfill v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
1 year 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

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago