UNPKG

ionicons

Version:

Premium icons for Ionic.

9 lines (8 loc) • 429 B
/** * Calls `onRejected` only when an `<svg>` was found and failed validation, * not when there's no `<svg>` at all (like an HTML 404 page). */ export declare const validateContent: (svgContent: string, onRejected?: () => void) => string; export declare const isValid: (elm: HTMLElement) => boolean; export declare const isSvgDataUrl: (url: string) => boolean; export declare const isEncodedDataUrl: (url: string) => boolean;