This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
src/app/shared/doc-viewer Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
- import { ComponentPortal , DomPortalHost , DomPortalOutlet } from '@angular/cdk/portal' ;
1
+ import { ComponentPortal , DomPortalOutlet } from '@angular/cdk/portal' ;
2
2
import { HttpClient , HttpErrorResponse } from '@angular/common/http' ;
3
3
import { DomSanitizer } from '@angular/platform-browser' ;
4
4
import {
@@ -107,7 +107,7 @@ export class DocViewer implements OnDestroy {
107
107
108
108
Array . prototype . slice . call ( exampleElements ) . forEach ( ( element : Element ) => {
109
109
const example = element . getAttribute ( componentName ) ;
110
- const portalHost = new DomPortalHost (
110
+ const portalHost = new DomPortalOutlet (
111
111
element , this . _componentFactoryResolver , this . _appRef , this . _injector ) ;
112
112
const examplePortal = new ComponentPortal ( componentClass , this . _viewContainerRef ) ;
113
113
const exampleViewer = portalHost . attach ( examplePortal ) ;
Original file line number Diff line number Diff line change @@ -17,12 +17,8 @@ import {Router} from '@angular/router';
17
17
@Component ( {
18
18
selector : 'header-link' ,
19
19
template : `
20
- <a
21
- title="Link to this heading"
22
- aria-label="Link to this heading"
23
- class="docs-markdown-a"
24
- [attr.aria-describedby]="example"
25
- [href]="_getFragmentUrl()">
20
+ <a aria-label="Link to this heading" class="docs-markdown-a"
21
+ [attr.aria-describedby]="example" [href]="_getFragmentUrl()">
26
22
<mat-icon>link</mat-icon>
27
23
</a>
28
24
`
Original file line number Diff line number Diff line change 187
187
integrity sha512-kwX6475iuFEWcQc62mgd9Dq1lGMvqZXxEc0EZqsewi9Dpg/rj0ImXeYOTtIKFrgAkg03ahADBjtCComB0eKZgg==
188
188
189
189
" @angular/components-examples@angular/material2-docs-content#master " :
190
- version "9.0.0-rc.5 -sha-8796d7cc6 "
191
- resolved "https://codeload.github.com/angular/material2-docs-content/tar.gz/3b51f24fa4318f5d649b59f5fa4ade54f16b13d0 "
190
+ version "9.0.0-rc.6 -sha-a30094b47 "
191
+ resolved "https://codeload.github.com/angular/material2-docs-content/tar.gz/177ef7b8f91e3834e0749bdf48c02a9b870758c3 "
192
192
193
193
" @angular/core@^9.0.0-rc.7 " :
194
194
version "9.0.0-rc.7"
You can’t perform that action at this time.
0 commit comments