File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -90,11 +90,7 @@ export class MatDrawerContent implements AfterContentInit {
9090
9191
9292/**
93- * <mat-drawer> component.
94- *
9593 * This component corresponds to a drawer that can be opened on the drawer container.
96- *
97- * Please refer to README.md for examples on how to use it.
9894 */
9995@Component ( {
10096 moduleId : module . id ,
Original file line number Diff line number Diff line change @@ -220,10 +220,11 @@ function getDirectiveOutputAlias(doc) {
220220function getDirectiveSelectors ( classDoc ) {
221221 const directiveSelectors = getMetadataProperty ( classDoc , 'selector' ) ;
222222
223+
223224 if ( directiveSelectors ) {
224225 // Filter blacklisted selectors and remove line-breaks in resolved selectors.
225226 return directiveSelectors . replace ( / [ \r \n ] / g, '' ) . split ( / \s * , \s * / )
226- . filter ( s => s !== '' && ! s . includes ( 'mat ' ) && ! SELECTOR_BLACKLIST . has ( s ) ) ;
227+ . filter ( s => s !== '' && ! s . includes ( 'md ' ) && ! SELECTOR_BLACKLIST . has ( s ) ) ;
227228 }
228229}
229230
Original file line number Diff line number Diff line change 11< h4 class ="docs-api-h4 docs-api-class-name ">
22 < code > {$ class.name $}</ code >
33</ h4 >
4- < p class ="docs-api-class-description "> {$ class.description | marked | safe $}</ p >
4+
5+ {%- if class.description -%}
6+ < p class ="docs-api-class-description "> {$ class.description | safe $}</ p >
7+ {%- endif -%}
58
69{%- if class.directiveSelectors -%}
7- < div class ="docs-api-directive-selectors ">
10+ < p class ="docs-api-directive-selectors ">
811 < span class ="docs-api-class-selector-label "> Selector:</ span >
912 {% for selector in class.directiveSelectors %}
1013 < span class ="docs-api-class-selector-name "> {$ selector $}</ span >
1114 {% endfor %}
12- </ div >
15+ </ p >
1316{%- endif -%}
1417
1518{%- if class.directiveExportAs -%}
You can’t perform that action at this time.
0 commit comments