Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/core
createElementSource
Function createElementSource
createElementSource
(
vp
:
Viewport
,
getId
:
()
=>
string
|
null
,
)
:
ViewportSource
<
CanvasElement
|
null
>
One element by id, or
null
when the id is absent.
Parameters
vp
:
Viewport
getId
:
()
=>
string
|
null
Returns
ViewportSource
<
CanvasElement
|
null
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Field Notes home
Docs
Playground
Field Notes
Loading...
One element by id, or
nullwhen the id is absent.