Open MhdFeras opened 3 years ago
changing the default CDK overlay container
we can change the CDK OverlayContainer by pass provider like this
providers: [ { provide: OverlayContainer, useClass: AppOverlayContainer} ]
can we pass similar provider to ng-zorro just like NZ_ICONS, NZ_ICON_DEFAULT_TWOTONE_COLOR ...
providers: [ { provide: NZ_OVERLAY_CONTAINER, useClass: AppOverlayContainer }, //this will pass the AppOverlayContainer to be used as provider for OverlayContainer inside ng-zorro module { provide: NZ_ICON_DEFAULT_TWOTONE_COLOR, useValue: '#00ff00' }, { provide: NZ_ICONS, useValue: icons } ]
Any update ?
@simplejason any news?
Any Update?
What problem does this feature solve?
changing the default CDK overlay container
What does the proposed API look like?
we can change the CDK OverlayContainer by pass provider like this
can we pass similar provider to ng-zorro just like NZ_ICONS, NZ_ICON_DEFAULT_TWOTONE_COLOR ...