5 lines
27 KiB
JSON
5 lines
27 KiB
JSON
{
|
|
"id": "api/platform-browser/Meta",
|
|
"title": "Meta",
|
|
"contents": "\n\n<article>\n <div class=\"breadcrumb-container\">\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/platform-browser\", \"name\": \"@angular/platform-browser\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/platform-browser/Meta\", \"name\": \"Meta\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/platform-browser\">@angular/platform-browser</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L42-L201\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L42-L201\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"meta\">Meta<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#meta\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label class\">class</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p>A service for managing HTML <code><meta></code> tags.</p>\n\n <p><a href=\"api/platform-browser/Meta#description\">See more...</a></p>\n </section>\n \n \n \n <section class=\"class-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\nclass <a href=\"api/platform-browser/Meta\" class=\"code-anchor\">Meta</a> {\n <a class=\"code-anchor\" href=\"api/platform-browser/Meta#addTag\"><span class=\"member-name\">addTag</span>(tag: MetaDefinition, forceCreation: boolean = false): HTMLMetaElement | null</a>\n <a class=\"code-anchor\" href=\"api/platform-browser/Meta#addTags\"><span class=\"member-name\">addTags</span>(tags: MetaDefinition[], forceCreation: boolean = false): HTMLMetaElement[]</a>\n <a class=\"code-anchor\" href=\"api/platform-browser/Meta#getTag\"><span class=\"member-name\">getTag</span>(attrSelector: string): HTMLMetaElement | null</a>\n <a class=\"code-anchor\" href=\"api/platform-browser/Meta#getTags\"><span class=\"member-name\">getTags</span>(attrSelector: string): HTMLMetaElement[]</a>\n <a class=\"code-anchor\" href=\"api/platform-browser/Meta#updateTag\"><span class=\"member-name\">updateTag</span>(tag: MetaDefinition, selector?: string): HTMLMetaElement | null</a>\n <a class=\"code-anchor\" href=\"api/platform-browser/Meta#removeTag\"><span class=\"member-name\">removeTag</span>(attrSelector: string): void</a>\n <a class=\"code-anchor\" href=\"api/platform-browser/Meta#removeTagElement\"><span class=\"member-name\">removeTagElement</span>(meta: HTMLMetaElement): void</a>\n}\n</code-example>\n\n \n \n\n</section>\n\n\n \n<section class=\"see-also\">\n <h2 id=\"see-also\">See also<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#see-also\"><i class=\"material-icons\">link</i></a></h2>\n <ul>\n \n <li><p><a href=\"https://developer.mozilla.org/docs/Web/HTML/Element/meta\">HTML meta tag</a></p>\n</li>\n <li><p><a href=\"https://developer.mozilla.org/docs/Web/API/Document/querySelector\">Document.querySelector()</a></p>\n</li>\n </ul>\n</section>\n\n\n \n \n<section class=\"description\">\n <h2 id=\"description\">Description<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#description\"><i class=\"material-icons\">link</i></a></h2>\n <p>Properties of the <code><a href=\"api/platform-browser/MetaDefinition\" class=\"code-anchor\">MetaDefinition</a></code> object match the attributes of the\nHTML <code><meta></code> tag. These tags define document metadata that is important for\nthings like configuring a Content Security Policy, defining browser compatibility\nand security settings, setting HTTP Headers, defining rich content for social sharing,\nand Search Engine Optimization (SEO).</p>\n<p>To identify specific <code><meta></code> tags in a document, use an attribute selection\nstring in the format <code>\"tag_attribute='value string'\"</code>.\nFor example, an <code>attrSelector</code> value of <code>\"name='description'\"</code> matches a tag\nwhose <code>name</code> attribute has the value <code>\"description\"</code>.\nSelectors are used with the <code>querySelector()</code> Document method,\nin the format <code>meta[{attrSelector}]</code>.</p>\n\n \n</section>\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n<section class=\"instance-methods\">\n <h2 id=\"methods\">Methods<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#methods\"><i class=\"material-icons\">link</i></a></h2>\n \n <a id=\"addTag\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"addtag\">\n addTag()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#addtag\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L71-L84\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L71-L84\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n <tr>\n <td class=\"short-description\">\n <p>Retrieves or creates a specific <code><meta></code> tag element in the current HTML document.\nIn searching for an existing tag, Angular attempts to match the <code>name</code> or <code>property</code> attribute\nvalues in the provided tag definition, and verifies that all other attribute values are equal.\nIf an existing element is found, it is returned and is not modified in any way.</p>\n\n </td>\n </tr>\n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">addTag</span>(tag: <a href=\"api/platform-browser/MetaDefinition\" class=\"code-anchor\">MetaDefinition</a>, forceCreation: boolean = false): HTMLMetaElement | null</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>tag</code>\n </td>\n <td class=\"param-type\"><code><a href=\"api/platform-browser/MetaDefinition\" class=\"code-anchor\">MetaDefinition</a></code></td>\n <td class=\"param-description\">\n <p>The definition of a <code><meta></code> element to match or create.</p>\n\n </td>\n </tr>\n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>forceCreation</code>\n </td>\n <td class=\"param-type\"><code>boolean</code></td>\n <td class=\"param-description\">\n <p>True to create a new element without checking whether one already exists.</p>\n<p> Optional. Default is <code>false</code>.</p>\n\n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns\">Returns</h6>\n <p><code>HTMLMetaElement | null</code>: The existing element with the same attributes and values if found,\nthe new element if no match is found, or <code>null</code> if the tag parameter is not defined.</p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"addTags\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"addtags\">\n addTags()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#addtags\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L85-L102\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L85-L102\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n <tr>\n <td class=\"short-description\">\n <p>Retrieves or creates a set of <code><meta></code> tag elements in the current HTML document.\nIn searching for an existing tag, Angular attempts to match the <code>name</code> or <code>property</code> attribute\nvalues in the provided tag definition, and verifies that all other attribute values are equal.</p>\n\n </td>\n </tr>\n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">addTags</span>(tags: <a href=\"api/platform-browser/MetaDefinition\" class=\"code-anchor\">MetaDefinition</a>[], forceCreation: boolean = false): HTMLMetaElement[]</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-1\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>tags</code>\n </td>\n <td class=\"param-type\"><code><a href=\"api/platform-browser/MetaDefinition\" class=\"code-anchor\">MetaDefinition</a>[]</code></td>\n <td class=\"param-description\">\n <p>An array of tag definitions to match or create.</p>\n\n </td>\n </tr>\n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>forceCreation</code>\n </td>\n <td class=\"param-type\"><code>boolean</code></td>\n <td class=\"param-description\">\n <p>True to create new elements without checking whether they already exist.</p>\n<p> Optional. Default is <code>false</code>.</p>\n\n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns-1\">Returns</h6>\n <p><code>HTMLMetaElement[]</code>: The matching elements if found, or the new elements.</p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"getTag\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"gettag\">\n getTag()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#gettag\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L103-L113\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L103-L113\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n <tr>\n <td class=\"short-description\">\n <p>Retrieves a <code><meta></code> tag element in the current HTML document.</p>\n\n </td>\n </tr>\n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">getTag</span>(attrSelector: string): HTMLMetaElement | null</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-2\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>attrSelector</code>\n </td>\n <td class=\"param-type\"><code>string</code></td>\n <td class=\"param-description\">\n <p>The tag attribute and value to match against, in the format\n<code>\"tag_attribute='value string'\"</code>.</p>\n\n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns-2\">Returns</h6>\n <p><code>HTMLMetaElement | null</code>: The matching element, if any.</p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"getTags\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"gettags\">\n getTags()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#gettags\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L114-L125\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L114-L125\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n <tr>\n <td class=\"short-description\">\n <p>Retrieves a set of <code><meta></code> tag elements in the current HTML document.</p>\n\n </td>\n </tr>\n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">getTags</span>(attrSelector: string): HTMLMetaElement[]</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-3\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>attrSelector</code>\n </td>\n <td class=\"param-type\"><code>string</code></td>\n <td class=\"param-description\">\n <p>The tag attribute and value to match against, in the format\n<code>\"tag_attribute='value string'\"</code>.</p>\n\n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns-3\">Returns</h6>\n <p><code>HTMLMetaElement[]</code>: The matching elements, if any.</p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"updateTag\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"updatetag\">\n updateTag()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#updatetag\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L126-L144\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L126-L144\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n <tr>\n <td class=\"short-description\">\n <p>Modifies an existing <code><meta></code> tag element in the current HTML document.</p>\n\n </td>\n </tr>\n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">updateTag</span>(tag: <a href=\"api/platform-browser/MetaDefinition\" class=\"code-anchor\">MetaDefinition</a>, selector?: string): HTMLMetaElement | null</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-4\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>tag</code>\n </td>\n <td class=\"param-type\"><code><a href=\"api/platform-browser/MetaDefinition\" class=\"code-anchor\">MetaDefinition</a></code></td>\n <td class=\"param-description\">\n <p>The tag description with which to replace the existing tag content.</p>\n\n </td>\n </tr>\n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>selector</code>\n </td>\n <td class=\"param-type\"><code>string</code></td>\n <td class=\"param-description\">\n <p>A tag attribute and value to match against, to identify\nan existing tag. A string in the format <code>\"tag_attribute=</code>value string<code>\"</code>.\nIf not supplied, matches a tag with the same <code>name</code> or <code>property</code> attribute value as the\nreplacement tag.</p>\n<p> Optional. Default is <code>undefined</code>.</p>\n\n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns-4\">Returns</h6>\n <p><code>HTMLMetaElement | null</code>: The modified element.</p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"removeTag\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"removetag\">\n removeTag()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#removetag\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L145-L153\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L145-L153\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n <tr>\n <td class=\"short-description\">\n <p>Removes an existing <code><meta></code> tag element from the current HTML document.</p>\n\n </td>\n </tr>\n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">removeTag</span>(attrSelector: string): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-5\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>attrSelector</code>\n </td>\n <td class=\"param-type\"><code>string</code></td>\n <td class=\"param-description\">\n <p>A tag attribute and value to match against, to identify\nan existing tag. A string in the format <code>\"tag_attribute=</code>value string<code>\"</code>.</p>\n\n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns-5\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n <a id=\"removeTagElement\"></a>\n<table class=\"is-full-width method-table instance-method\">\n <thead><tr><th>\n <div class=\"with-github-links\">\n <h3 id=\"removetagelement\">\n removeTagElement()\n \n <a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/platform-browser/Meta#removetagelement\"><i class=\"material-icons\">link</i></a></h3>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L154-L163\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L154-L163\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n </th></tr></thead>\n <tbody>\n <tr>\n <td class=\"short-description\">\n <p>Removes an existing <code><meta></code> tag element from the current HTML document.</p>\n\n </td>\n </tr>\n \n <tr>\n <td>\n <div class=\"overload-info\">\n \n\n <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"><span class=\"member-name\">removeTagElement</span>(meta: HTMLMetaElement): void</code-example>\n\n \n\n <h6 class=\"no-anchor\" id=\"parameters-6\">Parameters</h6>\n <table class=\"is-full-width list-table parameters-table instance-method-overload-parameters\">\n <tbody>\n \n <tr class=\"instance-method-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"\"></a>\n <code>meta</code>\n </td>\n <td class=\"param-type\"><code>HTMLMetaElement</code></td>\n <td class=\"param-description\">\n <p>The tag definition to match against to identify an existing tag.</p>\n\n </td>\n </tr>\n </tbody>\n</table>\n\n \n <h6 class=\"no-anchor\" id=\"returns-6\">Returns</h6>\n <p><code>void</code></p>\n\n \n\n\n \n\n \n</div>\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n \n</section>\n\n\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/platform-browser\n - api/platform-browser/MetaDefinition\n-->\n<!-- links from this doc:\n - /api\n - api/platform-browser\n - api/platform-browser/Meta#addTag\n - api/platform-browser/Meta#addTags\n - api/platform-browser/Meta#addtag\n - api/platform-browser/Meta#addtags\n - api/platform-browser/Meta#description\n - api/platform-browser/Meta#getTag\n - api/platform-browser/Meta#getTags\n - api/platform-browser/Meta#gettag\n - api/platform-browser/Meta#gettags\n - api/platform-browser/Meta#meta\n - api/platform-browser/Meta#methods\n - api/platform-browser/Meta#removeTag\n - api/platform-browser/Meta#removeTagElement\n - api/platform-browser/Meta#removetag\n - api/platform-browser/Meta#removetagelement\n - api/platform-browser/Meta#see-also\n - api/platform-browser/Meta#updateTag\n - api/platform-browser/Meta#updatetag\n - api/platform-browser/MetaDefinition\n - https://developer.mozilla.org/docs/Web/API/Document/querySelector\n - https://developer.mozilla.org/docs/Web/HTML/Element/meta\n - https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L103-L113\n - https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L114-L125\n - https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L126-L144\n - https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L145-L153\n - https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L154-L163\n - https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L42-L201\n - https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L71-L84\n - https://github.com/angular/angular/edit/master/packages/platform-browser/src/browser/meta.ts?message=docs(platform-browser)%3A%20describe%20your%20change...#L85-L102\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L103-L113\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L114-L125\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L126-L144\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L145-L153\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L154-L163\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L42-L201\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L71-L84\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/platform-browser/src/browser/meta.ts#L85-L102\n-->"
|
|
} |