You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Base directory for sprite and CSS file output. If not absolute, the path will be resolved using the main output directory (see global dest option).
226
+
* @default "<mode>"
227
+
*/
228
+
dest?: string;
229
+
/**
230
+
* Used for prefixing the [shape ID](#shape-ids) during CSS selector construction. If the value is empty,
231
+
* no prefix will be used. The prefix may contain the placeholder "%s" (e.g. ".svg %s-svg"),
232
+
* which will then get replaced by the shape ID. Please be aware that "%" is a special character
233
+
* in this context and that you'll have to escape it by another percent sign ("%%") in case you want
234
+
* to output it to your stylesheets (e.g. for a [Sass placeholder selector](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#placeholder_selectors_)).
235
+
* @default ".svg-%s"
236
+
*/
237
+
prefix?: string;
238
+
/**
239
+
* A non-empty string value will trigger the creation of additional CSS rules specifying the dimensions of each shape in the sprite.
240
+
* The string will be used as suffix to mode.<mode>.prefix during CSS selector construction and may contain the placeholder "%s",
241
+
* which will get replaced by the value of mode.<mode>.prefix.
242
+
* A boolean TRUE will cause the dimensions to be included directly into each shape's CSS rule (only available for «css» and «view» sprites).
243
+
* @default "-dims"
244
+
*/
245
+
dimensions?: string|boolean;
246
+
/**
247
+
* SVG sprite path and file name, relative to the mode.<mode>.dest directory.
248
+
* You may omit the file extension, in which case it will be set to ".svg" automatically.
249
+
* @default "svg/sprite.<mode>.svg"
250
+
*/
251
+
sprite?: string;
252
+
/**
253
+
* Add a content based hash to the name of the sprite file so that clients reliably reload the sprite
254
+
* when it's content changes («cache busting»). Defaults to false except for «css» and «view» sprites.
255
+
* @default true∣false
256
+
*/
257
+
bust?: boolean;
258
+
/**
259
+
* Collection of [stylesheet rendering configurations](#rendering-configurations).
260
+
* The keys are used as file extensions as well as file return keys. At present,
261
+
* there are default templates for the file extensions css ([CSS](http://www.w3.org/Style/CSS/)),
262
+
* scss ([Sass](http://sass-lang.com/)), less ([Less](http://lesscss.org/)) and styl ([Stylus](http://learnboost.github.io/stylus/)),
263
+
* which all reside in the directory tmpl/css. Example: {css: true, scss: {dest: '_sprite.scss'}}
264
+
* @default {}
265
+
*/
266
+
render?: {[key: string]: RenderingConfiguration};
267
+
/**
268
+
* Enabling this will trigger the creation of an HTML document demoing the usage of the sprite. Please see below for details on [rendering configurations](#rendering-configurations).
0 commit comments