@@ -56,7 +56,7 @@ class SvgIconConfig {
56
56
}
57
57
58
58
/**
59
- * Service to register and display icons used by the <md-icon> component.
59
+ * Service to register and display icons used by the ` <md-icon>` component.
60
60
* - Registers icon URLs by namespace and name.
61
61
* - Registers icon set URLs by namespace.
62
62
* - Registers aliases for CSS classes, for use with icon fonts.
@@ -142,7 +142,7 @@ export class MdIconRegistry {
142
142
/**
143
143
* Defines an alias for a CSS class name to be used for icon fonts. Creating an mdIcon
144
144
* component with the alias as the fontSet input will cause the class name to be applied
145
- * to the <md-icon> element.
145
+ * to the ` <md-icon>` element.
146
146
*
147
147
* @param alias Alias for the font.
148
148
* @param className Class name override to be used instead of the alias.
@@ -161,7 +161,7 @@ export class MdIconRegistry {
161
161
}
162
162
163
163
/**
164
- * Sets the CSS class name to be used for icon fonts when an <md-icon> component does not
164
+ * Sets the CSS class name to be used for icon fonts when an ` <md-icon>` component does not
165
165
* have a fontSet input value, and is not loading an icon by name or URL.
166
166
*
167
167
* @param className
@@ -172,15 +172,15 @@ export class MdIconRegistry {
172
172
}
173
173
174
174
/**
175
- * Returns the CSS class name to be used for icon fonts when an <md-icon> component does not
175
+ * Returns the CSS class name to be used for icon fonts when an ` <md-icon>` component does not
176
176
* have a fontSet input value, and is not loading an icon by name or URL.
177
177
*/
178
178
getDefaultFontSetClass ( ) : string {
179
179
return this . _defaultFontSetClass ;
180
180
}
181
181
182
182
/**
183
- * Returns an Observable that produces the icon (as an <svg> DOM element) from the given URL.
183
+ * Returns an Observable that produces the icon (as an ` <svg>` DOM element) from the given URL.
184
184
* The response from the URL may be cached so this will not always cause an HTTP request, but
185
185
* the produced element will always be a new copy of the originally fetched icon. (That is,
186
186
* it will not contain any modifications made to elements previously returned).
@@ -207,7 +207,7 @@ export class MdIconRegistry {
207
207
}
208
208
209
209
/**
210
- * Returns an Observable that produces the icon (as an <svg> DOM element) with the given name
210
+ * Returns an Observable that produces the icon (as an ` <svg>` DOM element) with the given name
211
211
* and namespace. The icon must have been previously registered with addIcon or addIconSet;
212
212
* if not, the Observable will throw an error.
213
213
*
@@ -252,7 +252,7 @@ export class MdIconRegistry {
252
252
/**
253
253
* Attempts to find an icon with the specified name in any of the SVG icon sets.
254
254
* First searches the available cached icons for a nested element with a matching name, and
255
- * if found copies the element to a new <svg> element. If not found, fetches all icon sets
255
+ * if found copies the element to a new ` <svg>` element. If not found, fetches all icon sets
256
256
* that have not been cached, and searches again after all fetches are completed.
257
257
* The returned Observable produces the SVG element if possible, and throws
258
258
* an error if no icon with the specified name can be found.
0 commit comments