mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Update svg4everybody to v2.1.9
This commit is contained in:
Vendored
+2
-1
@@ -1,6 +1,6 @@
|
||||
// Type definitions for svg4everybody 2.1
|
||||
// Project: https://github.com/jonathantneal/svg4everybody#readme
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>
|
||||
// Definitions by: BendingBender <https://github.com/BendingBender>, bryceosterhaus <https://github.com/bryceosterhaus>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export as namespace svg4everybody;
|
||||
@@ -11,6 +11,7 @@ declare function svg4everybody(options?: svg4everybody.Svg4everybodyOpts): void;
|
||||
|
||||
declare namespace svg4everybody {
|
||||
interface Svg4everybodyOpts {
|
||||
attributeName?: string;
|
||||
fallback?(src: string, svg: SVGElement, use: SVGUseElement): string;
|
||||
validate?(src: string, svg: SVGElement, use: SVGUseElement): boolean;
|
||||
nosvg?: boolean;
|
||||
|
||||
@@ -13,6 +13,7 @@ svg4everybody({
|
||||
});
|
||||
|
||||
svg4everybody({
|
||||
attributeName: 'data-href',
|
||||
nosvg: true,
|
||||
polyfill: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user