Skip to content

Ngx meta.ngxmetacoremodule.forroot

Home > @davidlj95/ngx-meta > NgxMetaCoreModule > forRoot

NgxMetaCoreModule.forRoot() method

Provides ngx-meta's core library services.

Check out provideNgxMetaCore() for the standalone, recommended API.

Allows setting up additional features:

Previous features configuration with an options object has been deprecated. See NgxMetaCoreModule.forRoot() for more information and how to migrate.

Signature:

static forRoot(...features: CoreFeatures): ModuleWithProviders<NgxMetaCoreModule>;

Parameters

Parameter Type Description
features CoreFeatures Features to configure the core module with

Returns:

ModuleWithProviders<NgxMetaCoreModule>