mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
- definitioin files - tests https://github.com/kimmobrunfeldt/progressbar.js#progressbarjs https://www.npmjs.com/package/progressbar.js x-ref: kimmobrunfeldt/progressbar.js#206 kimmobrunfeldt/progressbar.js#149 Thanks!
16 lines
578 B
TypeScript
16 lines
578 B
TypeScript
/**
|
|
* Custom shaped progress bar.
|
|
* You can create arbitrary shaped progress bars by passing a SVG path created with e.g. Adobe Illustrator.
|
|
* It's on caller's responsibility to append SVG to DOM.
|
|
*/
|
|
|
|
import { AnimationOptions, AnimationSupport } from './';
|
|
declare class Path<SElement extends Element = SVGPathElement> {
|
|
readonly path?: SElement;
|
|
constructor(path: SElement | string | null, options?: AnimationOptions);
|
|
}
|
|
// tslint:disable-next-line no-empty-interface adds members from animation contract
|
|
interface Path extends AnimationSupport {}
|
|
|
|
export = Path;
|