@@ -51,7 +51,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference {
5151 * Reference to the parent of the `_host` at the time it was detached. Used to restore
5252 * the `_host` to its original position in the DOM when it gets re-attached.
5353 *
54- * 在拆除浮层时,引用其 `_host` 的父元素。当重新附着时 ,用于把 `_host` 恢复其在 DOM 中的原始位置。
54+ * 在拆除浮层时,引用其 `_host` 的父元素。当重新附加时 ,用于把 `_host` 恢复其在 DOM 中的原始位置。
5555 *
5656 */
5757 private _previousHostParent : HTMLElement ;
@@ -131,15 +131,15 @@ export class OverlayRef implements PortalOutlet, OverlayReference {
131131 * Attaches content, given via a Portal, to the overlay.
132132 * If the overlay is configured to have a backdrop, it will be created.
133133 *
134- * 把通过传送点给出的内容附着到浮层上 。如果浮层配置为具有背景板,也会创建它。
134+ * 把通过传送点给出的内容附加到浮层上 。如果浮层配置为具有背景板,也会创建它。
135135 *
136136 * @param portal Portal instance to which to attach the overlay.
137137 *
138- * 要附着的传送点实例 。
138+ * 要附加的传送点实例 。
139139 *
140140 * @returns The portal attachment result.
141141 *
142- * 传送点附着的结果 。
142+ * 传送点附加的结果 。
143143 *
144144 */
145145 attach ( portal : Portal < any > ) : any {
@@ -286,7 +286,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference {
286286 /**
287287 * Whether the overlay has attached content.
288288 *
289- * 浮层是否附着着内容 。
289+ * 浮层是否附加着内容 。
290290 *
291291 */
292292 hasAttached ( ) : boolean {
@@ -306,7 +306,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference {
306306 /**
307307 * Gets an observable that emits when the overlay has been attached.
308308 *
309- * 获取一个在附着浮层时会发出通知的可观察对象 。
309+ * 获取一个在附加浮层时会发出通知的可观察对象 。
310310 *
311311 */
312312 attachments ( ) : Observable < void > {
@@ -514,7 +514,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference {
514514 /**
515515 * Attaches a backdrop for this overlay.
516516 *
517- * 为这个浮层附着一个背景板 。
517+ * 为这个浮层附加一个背景板 。
518518 *
519519 */
520520 private _attachBackdrop ( ) {
0 commit comments