Skip to content

Commit 3c91ce6

Browse files
committed
add overlay directive
1 parent 8974845 commit 3c91ce6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cdk/overlay/overlay-directives.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ export class CdkConnectedOverlay implements OnDestroy, OnChanges {
209209
@Input({alias: 'cdkConnectedOverlayGrowAfterOpen', transform: booleanAttribute})
210210
growAfterOpen: boolean = false;
211211

212+
/** Whether or not the overlay should attach a backdrop. */
213+
@Input('cdkConnectedOverlayInsertAfter')
214+
insertOverlayAfter?: ElementRef;
215+
212216
/** Whether the overlay can be pushed on-screen if none of the provided positions fit. */
213217
@Input({alias: 'cdkConnectedOverlayPush', transform: booleanAttribute}) push: boolean = false;
214218

@@ -327,6 +331,7 @@ export class CdkConnectedOverlay implements OnDestroy, OnChanges {
327331
scrollStrategy: this.scrollStrategy,
328332
hasBackdrop: this.hasBackdrop,
329333
disposeOnNavigation: this.disposeOnNavigation,
334+
insertOverlayAfter: this.insertOverlayAfter,
330335
});
331336

332337
if (this.width || this.width === 0) {

0 commit comments

Comments
 (0)