DocumentMetadata
An object containing meta-data extracted from resource URL and HTML
<head>
element.
#
FieldsbaseTarget
#
baseTarget
:
"_blank"
 Â
|
"_self"
 Â
|
"_parent"
 Â
|
"_top"
;
How anchors should be actioned on press?
Remarks
By default, renderersProps.a.onPress
will always open the
system browser, equivalent to _blank
target. However, you can customize
the behavior by providing your own implementation.
baseUrl
#
baseUrl
:
string
;
The base URL of this resource. It will influence how relative URLs are
resolved such as href
and src
element properties. By order of
precedence:
baseUrl
from<base/>
html element;baseUrl
fromsource.baseUrl
prop;baseUrl
as origin ofsource.uri
prop.
dir
#
dir
:
"ltr"
|
"rtl"
;
The writing direction of this document, extracted from the dir
attribute
of <html/>
element.
lang
#
lang
:
string
;
The language of this document, extracted from the lang
attribute of the
<html/>
element;
links
#
links
:
Array
<
Record
<
string
,
string
>
>
;
A data array comprised of attributes from <link> elements.
meta
#
meta
:
Array
<
{
 Â
name
:
string
;
 Â
value
:
string
;
}
>
;
A data array comprised of attributes from <meta> elements.
title
#
title
:
string
;
The content of the <title> element.