dw.web
Class PageMetaTag
dw.web.PageMetaTag
Page meta tags are used in HTML documents to provide structured data about a web
page. They are usually part of the head section. Common tags are for example robots,
description or social tags like open graph (e.g. 'og:title').
Page meta tags can be obtained within:
- home page context
- detail page context
- listing page context
Properties
content
:
String
(Read Only)
The page meta tag content.
ID
:
String
(Read Only)
The page meta tag ID.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getContent()
:
String
Returns the page meta tag content.
isName()
:
boolean
Returns true if the page meta tag type is name, false otherwise.
isProperty()
:
boolean
Returns true if the page meta tag type is property, false otherwise.
isTitle()
:
boolean
Returns true if the page meta tag type is title, false otherwise.
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Method Detail
isName
isName()
:
boolean
Returns true if the page meta tag type is name, false otherwise.
Returns:
true if the page meta tag type is name, false otherwise