Class Overview
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
}
Class Description
A service that can be used to get and add meta tags.
Annotations
@Injectable()
Class Details
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