Search
Preparing search index...
The search index is not available
Viewer
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Viewer
HTMLElementAnchorCustomData
Class HTMLElementAnchorCustomData
Hierarchy
HTMLElementAnchorData
HTMLElementAnchorCustomData
Index
Constructors
constructor
Properties
internal
Html
Element
Accessors
converted
Object
data
format
hideable
id
intersection
Target
location
update
Callback
update
Callback
Converted
Object
version
viewports
Methods
clone
create
create
Viewer
Html
Element
get
Viewer
Html
Element
update
update
Version
Constructors
constructor
new HTMLElement
Anchor
Custom
Data
(
properties
:
{
data
:
any
;
location
:
vec3
;
create
:
any
;
update
:
any
;
hideable
?:
boolean
;
id
?:
string
;
intersectionTarget
?:
string
|
string
[]
|
Box
;
version
?:
string
;
viewports
?:
string
[]
}
)
:
HTMLElementAnchorCustomData
Creates a custom data node.
Parameters
properties:
{
data
:
any
;
location
:
vec3
;
create
:
any
;
update
:
any
;
hideable
?:
boolean
;
id
?:
string
;
intersectionTarget
?:
string
|
string
[]
|
Box
;
version
?:
string
;
viewports
?:
string
[]
}
data
:
any
location
:
vec3
create
:
function
create
(
properties
:
{
anchor
:
HTMLElementAnchorData
;
parent
:
HTMLDivElement
}
)
:
void
Parameters
properties:
{
anchor
:
HTMLElementAnchorData
;
parent
:
HTMLDivElement
}
anchor
:
HTMLElementAnchorData
parent
:
HTMLDivElement
Returns
void
update
:
function
update
(
properties
:
IHTMLElementAnchorUpdateProperties
)
:
void
Parameters
properties:
IHTMLElementAnchorUpdateProperties
Returns
void
Optional
hideable
?:
boolean
Optional
id
?:
string
Optional
intersection
Target
?:
string
|
string
[]
|
Box
Optional
version
?:
string
Optional
viewports
?:
string
[]
Returns
HTMLElementAnchorCustomData
Properties
Protected
internal
Html
Element
internal
Html
Element
:
HTMLDivElement
Accessors
converted
Object
get
convertedObject
(
)
:
{}
set
convertedObject
(
value
:
{}
)
:
void
Returns
{}
[
key:
string
]:
unknown
Parameters
value:
{}
[
key:
string
]:
unknown
Returns
void
data
get
data
(
)
:
any
set
data
(
value
:
any
)
:
void
Returns
any
Parameters
value:
any
Returns
void
format
get
format
(
)
:
"custom"
|
"image"
|
"text"
set
format
(
value
:
"custom"
|
"image"
|
"text"
)
:
void
Returns
"custom"
|
"image"
|
"text"
Parameters
value:
"custom"
|
"image"
|
"text"
Returns
void
hideable
get
hideable
(
)
:
boolean
set
hideable
(
value
:
boolean
)
:
void
Returns
boolean
Parameters
value:
boolean
Returns
void
id
get
id
(
)
:
string
Returns
string
intersection
Target
get
intersectionTarget
(
)
:
undefined
|
string
|
string
[]
|
Box
set
intersectionTarget
(
value
:
undefined
|
string
|
string
[]
|
Box
)
:
void
Returns
undefined
|
string
|
string
[]
|
Box
Parameters
value:
undefined
|
string
|
string
[]
|
Box
Returns
void
location
get
location
(
)
:
vec3
set
location
(
value
:
vec3
)
:
void
Returns
vec3
Parameters
value:
vec3
Returns
void
update
Callback
get
updateCallback
(
)
:
null
|
(
(
newVersion
:
string
, oldVersion
:
string
)
=>
void
)
set
updateCallback
(
value
:
null
|
(
(
newVersion
:
string
, oldVersion
:
string
)
=>
void
)
)
:
void
Returns
null
|
(
(
newVersion
:
string
, oldVersion
:
string
)
=>
void
)
Parameters
value:
null
|
(
(
newVersion
:
string
, oldVersion
:
string
)
=>
void
)
Returns
void
update
Callback
Converted
Object
get
updateCallbackConvertedObject
(
)
:
null
|
(
(
newObj
:
unknown
, oldObj
:
unknown
, viewport
:
string
)
=>
void
)
set
updateCallbackConvertedObject
(
value
:
null
|
(
(
newObj
:
unknown
, oldObj
:
unknown
, viewport
:
string
)
=>
void
)
)
:
void
Returns
null
|
(
(
newObj
:
unknown
, oldObj
:
unknown
, viewport
:
string
)
=>
void
)
Parameters
value:
null
|
(
(
newObj
:
unknown
, oldObj
:
unknown
, viewport
:
string
)
=>
void
)
Returns
void
version
get
version
(
)
:
string
Returns
string
viewports
get
viewports
(
)
:
string
[]
set
viewports
(
value
:
string
[]
)
:
void
Returns
string
[]
Parameters
value:
string
[]
Returns
void
Methods
clone
clone
(
)
:
HTMLElementAnchorCustomData
Clones the scene graph data.
Returns
HTMLElementAnchorCustomData
create
create
(
properties
:
{
anchor
:
HTMLElementAnchorData
;
parent
:
HTMLDivElement
}
)
:
void
Parameters
properties:
{
anchor
:
HTMLElementAnchorData
;
parent
:
HTMLDivElement
}
anchor
:
HTMLElementAnchorData
parent
:
HTMLDivElement
Returns
void
create
Viewer
Html
Element
create
Viewer
Html
Element
(
viewer
:
string
)
:
null
|
HTMLDivElement
Parameters
viewer:
string
Returns
null
|
HTMLDivElement
get
Viewer
Html
Element
get
Viewer
Html
Element
(
viewer
:
string
)
:
null
|
HTMLDivElement
Parameters
viewer:
string
Returns
null
|
HTMLDivElement
update
update
(
properties
:
IHTMLElementAnchorUpdateProperties
)
:
void
Parameters
properties:
IHTMLElementAnchorUpdateProperties
Returns
void
update
Version
update
Version
(
)
:
void
Update the version
Returns
void
Exports
HTMLElement
Anchor
Custom
Data
constructor
internal
Html
Element
converted
Object
data
format
hideable
id
intersection
Target
location
update
Callback
update
Callback
Converted
Object
version
viewports
clone
create
create
Viewer
Html
Element
get
Viewer
Html
Element
update
update
Version
Creates a custom data node.