Projects a template into one of the login screen's MJLoginSlotName regions.
Mirrors mjChatSlot from @memberjunction/ng-conversations — one directive covering every
slot, so adding a region is a union member rather than a new directive class, and the host's
template is rendered through ngTemplateOutlet while the screen keeps a real default for any
slot nobody filled. That is what a bare <ng-content> could not do here: the login screen
renders the same regions in different places depending on MJLoginLayout, and content
captured as a TemplateRef can be rendered wherever the chosen layout puts it.
Every slot is opt-in — an app that projects nothing sees the stock login screen.
Projects a template into one of the login screen's MJLoginSlotName regions.
Mirrors
mjChatSlotfrom@memberjunction/ng-conversations— one directive covering every slot, so adding a region is a union member rather than a new directive class, and the host's template is rendered throughngTemplateOutletwhile the screen keeps a real default for any slot nobody filled. That is what a bare<ng-content>could not do here: the login screen renders the same regions in different places depending on MJLoginLayout, and content captured as aTemplateRefcan be rendered wherever the chosen layout puts it.Every slot is opt-in — an app that projects nothing sees the stock login screen.
Example
Since
6.2.0