2.1.5 • Published 6 months ago

@types/svg4everybody v2.1.5

Weekly downloads
3,597
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/svg4everybody

Summary

This package contains type definitions for svg4everybody (https://github.com/jonathantneal/svg4everybody#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg4everybody.

index.d.ts

// Type definitions for svg4everybody 2.1
// Project: https://github.com/jonathantneal/svg4everybody#readme
// Definitions by: BendingBender <https://github.com/BendingBender>, bryceosterhaus <https://github.com/bryceosterhaus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export as namespace svg4everybody;

export = svg4everybody;

declare function svg4everybody(options?: svg4everybody.Svg4everybodyOpts): void;

declare namespace svg4everybody {
  interface Svg4everybodyOpts {
    attributeName?: string | undefined;
    fallback?(src: string, svg: SVGElement, use: SVGUseElement): string;
    validate?(src: string, svg: SVGElement, use: SVGUseElement): boolean;
    nosvg?: boolean | undefined;
    polyfill?: boolean | undefined;
  }
}

Additional Details

  • Last updated: Fri, 02 Jul 2021 22:33:13 GMT
  • Dependencies: none
  • Global values: svg4everybody

Credits

These definitions were written by BendingBender, and bryceosterhaus.

2.1.4

7 months ago

2.1.3

8 months ago

2.1.5

6 months ago

2.1.2

3 years ago

2.1.1

5 years ago

2.1.0

7 years ago