pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
16 lines (15 loc) • 448 B
TypeScript
import EventEmitter from 'eventemitter3';
/**
* Regexp for data URI.
* Based on: {@link https://github.com/ragingwind/data-uri-regex}
* @static
* @type {RegExp}
* @default /(?:^data:image\/([\w+]+);(?:[\w=]+|charset=[\w-]+)?(?:;base64)?,)/i
* @example
* import { DATA_URI } from 'pixi.js';
*
* DATA_URI.test('data:image/png;base64,foobar'); // => true
* @memberof utils
*/
export declare const DATA_URI: RegExp;
export { EventEmitter };