@@ -70,7 +70,7 @@ class SvgIconConfig {
70
70
}
71
71
72
72
/**
73
- * Service to register and display icons used by the <mat-icon> component.
73
+ * Service to register and display icons used by the ` <mat-icon>` component.
74
74
* - Registers icon URLs by namespace and name.
75
75
* - Registers icon set URLs by namespace.
76
76
* - Registers aliases for CSS classes, for use with icon fonts.
@@ -101,7 +101,7 @@ export class MatIconRegistry {
101
101
private _fontCssClassesByAlias = new Map < string , string > ( ) ;
102
102
103
103
/**
104
- * The CSS class to apply when an <mat-icon> component has no icon name, url, or font specified.
104
+ * The CSS class to apply when an ` <mat-icon>` component has no icon name, url, or font specified.
105
105
* The default 'material-icons' value assumes that the material icon font has been loaded as
106
106
* described at http://google.github.io/material-design-icons/#icon-font-for-the-web
107
107
*/
@@ -164,7 +164,7 @@ export class MatIconRegistry {
164
164
/**
165
165
* Defines an alias for a CSS class name to be used for icon fonts. Creating an matIcon
166
166
* component with the alias as the fontSet input will cause the class name to be applied
167
- * to the <mat-icon> element.
167
+ * to the ` <mat-icon>` element.
168
168
*
169
169
* @param alias Alias for the font.
170
170
* @param className Class name override to be used instead of the alias.
@@ -183,7 +183,7 @@ export class MatIconRegistry {
183
183
}
184
184
185
185
/**
186
- * Sets the CSS class name to be used for icon fonts when an <mat-icon> component does not
186
+ * Sets the CSS class name to be used for icon fonts when an ` <mat-icon>` component does not
187
187
* have a fontSet input value, and is not loading an icon by name or URL.
188
188
*
189
189
* @param className
@@ -194,7 +194,7 @@ export class MatIconRegistry {
194
194
}
195
195
196
196
/**
197
- * Returns the CSS class name to be used for icon fonts when an <mat-icon> component does not
197
+ * Returns the CSS class name to be used for icon fonts when an ` <mat-icon>` component does not
198
198
* have a fontSet input value, and is not loading an icon by name or URL.
199
199
*/
200
200
getDefaultFontSetClass ( ) : string {
@@ -274,7 +274,7 @@ export class MatIconRegistry {
274
274
/**
275
275
* Attempts to find an icon with the specified name in any of the SVG icon sets.
276
276
* First searches the available cached icons for a nested element with a matching name, and
277
- * if found copies the element to a new <svg> element. If not found, fetches all icon sets
277
+ * if found copies the element to a new ` <svg>` element. If not found, fetches all icon sets
278
278
* that have not been cached, and searches again after all fetches are completed.
279
279
* The returned Observable produces the SVG element if possible, and throws
280
280
* an error if no icon with the specified name can be found.
0 commit comments