GitHub

DaffMetaService

import { DaffMetaService } from '@daffodil/seo'

Manages the meta tags on the current browser page.

@Injectable()
class DaffMetaService {
  upsert(def: DaffSeoMetaDefinition): void
  remove(def: DaffSeoMetaDefinition): void
}

() Methods

upsert
void

Updates or inserts, as needed, a meta tag to the page.

Parameters
Parameterdef: DaffSeoMetaDefinition
Description

the meta definition

remove
void

Removes the specified meta tag from the page.

Parameters
Parameterdef: DaffSeoMetaDefinition
Description

the meta definition