class Meta { constructor(_doc: any) addTag(tag: MetaDefinition, forceCreation?: boolean) : HTMLMetaElement addTags(tags: MetaDefinition[], forceCreation?: boolean) : HTMLMetaElement[] getTag(attrSelector: string) : HTMLMetaElement getTags(attrSelector: string) : HTMLMetaElement[] updateTag(tag: MetaDefinition, selector?: string) : HTMLMetaElement removeTag(attrSelector: string) : void removeTagElement(meta: HTMLMetaElement) : void }
A service that can be used to get and add meta tags.
@Injectable()
constructor(_doc: any)
addTag(tag: MetaDefinition, forceCreation?: boolean) : HTMLMetaElement
addTags(tags: MetaDefinition[], forceCreation?: boolean) : HTMLMetaElement[]
getTag(attrSelector: string) : HTMLMetaElement
getTags(attrSelector: string) : HTMLMetaElement[]
updateTag(tag: MetaDefinition, selector?: string) : HTMLMetaElement
removeTag(attrSelector: string) : void
removeTagElement(meta: HTMLMetaElement) : void
exported from platform-browser/index, defined in platform-browser/src/browser/meta.ts
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/platform-browser/index/Meta-class.html