Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/GH-3075
Browse files Browse the repository at this point in the history
  • Loading branch information
dydome committed Jun 17, 2021
2 parents 5e023b7 + 623e098 commit 0febcfc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/storefrontlib/src/layout/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export * from './header/index';
export * from './launch-dialog/index';
export * from './layout.module';
export * from './loading/index';
export * from './main/storefront.component';
export * from './main/index';
export * from './theme/index';
2 changes: 2 additions & 0 deletions projects/storefrontlib/src/layout/main/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './storefront-outlets.model';
export * from './storefront.component';
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export enum StorefrontOutlets {
STOREFRONT = 'cx-storefront',
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ng-template cxOutlet="cx-storefront" cxPageTemplateStyle>
<ng-template [cxOutlet]="StorefrontOutlets.STOREFRONT" cxPageTemplateStyle>
<ng-template cxOutlet="cx-header">
<header
cxSkipLink="cx-header"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
} from '../a11y/keyboard-focus/index';
import { SkipLinkComponent } from '../a11y/skip-link/index';
import { HamburgerMenuService } from '../header/hamburger-menu/hamburger-menu.service';
import { StorefrontOutlets } from './storefront-outlets.model';

@Component({
selector: 'cx-storefront',
Expand All @@ -24,6 +25,8 @@ export class StorefrontComponent implements OnInit, OnDestroy {
navigateSubscription: Subscription;
isExpanded$: Observable<boolean> = this.hamburgerMenuService.isExpanded;

readonly StorefrontOutlets = StorefrontOutlets;

@HostBinding('class.start-navigating') startNavigating;
@HostBinding('class.stop-navigating') stopNavigating;

Expand Down

0 comments on commit 0febcfc

Please sign in to comment.