Skip to main content

IfMultichannelDirective

Structural directive that displays the given element if the Vendure instance has multiple channels configured.

Example

Html
<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
Was this chapter helpful?
Report Issue
Edited Feb 3, 2026·Edit this page