AnchorElement
Interface: AnchorElement
Defined in: src/contextful/anchor-port.ts:91
The anchor itself: an element the app hands over, which the library listens ON (capture phase, so the whole subtree is in scope) and observes INSIDE.
Extends
AnchorNode
Properties
ownerDocument?
readonlyoptionalownerDocument?:AnchorDocument|null
Defined in: src/contextful/anchor-port.ts:94
tagName?
readonlyoptionaltagName?:unknown
Defined in: src/contextful/anchor-port.ts:48
Uppercase in HTML documents ('BUTTON'); the reader folds case itself.
Inherited from
AnchorNode.tagName
Methods
addEventListener()
addEventListener(
type,listener,options?):void
Defined in: src/contextful/anchor-port.ts:92
Parameters
type
string
listener
AnchorListener
options?
AnchorListenerOptions
Returns
void
getAttribute()?
optionalgetAttribute(name):string|null
Defined in: src/contextful/anchor-port.ts:49
Parameters
name
string
Returns
string | null
Inherited from
AnchorNode.getAttribute
removeEventListener()
removeEventListener(
type,listener,options?):void
Defined in: src/contextful/anchor-port.ts:93
Parameters
type
string
listener
AnchorListener
options?
AnchorListenerOptions
Returns
void