GitHub

DaffMetaService

Manages the meta tags on the current browser page.

import { DaffMetaService } from '@daffodil/seo'
@Injectable()
class DaffMetaService {
  upsert(def: DaffSeoMetaDefinition): void
  remove(def: DaffSeoMetaDefinition): void
}

Properties

Name Type Description
upsert void

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

remove void

Removes the specified meta tag from the page.