projects/storefrontlib/shared/config/view-config.ts
Properties |
|
Optional view |
Type : literal type
|
import { Injectable } from '@angular/core';
import { Config } from '@spartacus/core';
@Injectable({
providedIn: 'root',
useExisting: Config,
})
export abstract class ViewConfig {
view?: {
/**
* Configurations related to the view of the application
*/
defaultPageSize?: number;
infiniteScroll?: {
active?: boolean;
productLimit?: number;
showMoreButton?: boolean;
};
};
}
declare module '@spartacus/core' {
interface Config extends ViewConfig {}
}