export default {
|
/**
|
* Should following options be automatically configured:
|
* - `syncUrlsWithBaseTag`
|
* - `locationChangeAngularEmitter`
|
* - `moveGradientsOutsideSymbol`
|
* @type {boolean}
|
*/
|
autoConfigure: true,
|
|
/**
|
* Default mounting selector
|
* @type {string}
|
*/
|
mountTo: 'body',
|
|
/**
|
* Fix disappearing SVG elements when <base href> exists.
|
* Executes when sprite mounted.
|
* @see http://stackoverflow.com/a/18265336/796152
|
* @see https://github.com/everdimension/angular-svg-base-fix
|
* @see https://github.com/angular/angular.js/issues/8934#issuecomment-56568466
|
* @type {boolean}
|
*/
|
syncUrlsWithBaseTag: false,
|
|
/**
|
* Should sprite listen custom location change event
|
* @type {boolean}
|
*/
|
listenLocationChangeEvent: true,
|
|
/**
|
* Custom window event name which should be emitted to update sprite urls
|
* @type {string}
|
*/
|
locationChangeEvent: 'locationChange',
|
|
/**
|
* Emit location change event in Angular automatically
|
* @type {boolean}
|
*/
|
locationChangeAngularEmitter: false,
|
|
/**
|
* Selector to find symbols usages when updating sprite urls
|
* @type {string}
|
*/
|
usagesToUpdate: 'use[*|href]',
|
|
/**
|
* Fix Firefox bug when gradients and patterns don't work if they are within a symbol.
|
* Executes when sprite is rendered, but not mounted.
|
* @see https://bugzilla.mozilla.org/show_bug.cgi?id=306674
|
* @see https://bugzilla.mozilla.org/show_bug.cgi?id=353575
|
* @see https://bugzilla.mozilla.org/show_bug.cgi?id=1235364
|
* @type {boolean}
|
*/
|
moveGradientsOutsideSymbol: false
|
};
|