UNPKG

@spartacus/storefront

Version:

Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.

24 lines (23 loc) 934 B
import { BREAKPOINT } from '../../../config'; import * as i0 from "@angular/core"; /** * @deprecated since 4.2, refer to spartacus issues (#13762) */ export declare abstract class KeyboardFocusConfig { keyboardFocus?: { /** * Resets the focus back to the root `<cx-storefront>` element when a navigation is started. */ enableResetFocusOnNavigate?: boolean | BREAKPOINT[]; /** * Resets the view back to the root `<cx-storefront>` element when a navigation is started. This can also be set to a BREAKPOINT value to only reset the view up to the provided value. */ enableResetViewOnNavigate?: boolean | BREAKPOINT[]; }; static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardFocusConfig, never>; static ɵprov: i0.ɵɵInjectableDeclaration<KeyboardFocusConfig>; } declare module '@spartacus/core' { interface Config extends KeyboardFocusConfig { } }