-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(overlay): expose interface for custom positions
* Exposes the interface that allows developers to build custom position strategies for overlays.
- Loading branch information
1 parent
525ce1e
commit 16434e1
Showing
2 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export {Overlay, OVERLAY_PROVIDERS} from './overlay'; | ||
export {OverlayContainer} from './overlay-container'; | ||
export {FullscreenOverlayContainer} from './fullscreen-overlay-container'; | ||
export {OverlayRef} from './overlay-ref'; | ||
export {OverlayState} from './overlay-state'; | ||
export {ConnectedOverlayDirective, OverlayOrigin, OverlayModule} from './overlay-directives'; | ||
export {ScrollDispatcher} from './scroll/scroll-dispatcher'; | ||
|
||
export * from './position/connected-position'; | ||
|
||
// Export pre-defined position strategies and interface to build custom ones. | ||
export {PositionStrategy} from './position/position-strategy'; | ||
export {GlobalPositionStrategy} from './position/global-position-strategy'; | ||
export {ConnectedPositionStrategy} from './position/connected-position-strategy'; | ||
|
||
// Export pre-defined scroll strategies and interface to build custom ones. | ||
export {ScrollStrategy} from './scroll/scroll-strategy'; | ||
export {RepositionScrollStrategy} from './scroll/reposition-scroll-strategy'; | ||
export {CloseScrollStrategy} from './scroll/close-scroll-strategy'; | ||
export {NoopScrollStrategy} from './scroll/noop-scroll-strategy'; |