IfMultichannelDirective
IfMultichannelDirective
Structural directive that displays the given element if the Vendure instance has multiple channels configured.
Example
<div *vdrIfMultichannel class="channel-selector">
<!-- ... -->
</ng-container>
Signature
class IfMultichannelDirective extends IfDirectiveBase<[]> {
constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, dataService: DataService)
}
- Extends:
IfDirectiveBase<[]>
constructor
method
(_viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, dataService: DataService) => IfMultichannelDirective