title: "IfMultichannelDirective" weight: 10 date: 2023-07-20T13:56:18.495Z showtoc: true
import MemberInfo from '@site/src/components/MemberInfo'; import GenerationInfo from '@site/src/components/GenerationInfo'; import MemberDescription from '@site/src/components/MemberDescription';
Structural directive that displays the given element if the Vendure instance has multiple channels configured.
Example
<div *vdrIfMultichannel class="channel-selector">
<!-- ... -->
</ng-container>
class IfMultichannelDirective extends IfDirectiveBase<[]> {
constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, dataService: DataService)
}
Extends