Preparing search index...
The search index is not available
jacked_atlas_ts - v0.1.2
jacked_atlas_ts - v0.1.2
HorizontalImageScroller
Class HorizontalImageScroller
Hierarchy
HorizontalImageScroller
Index
Properties
canvas
ctx
entries
left
right
Constructors
constructor
Methods
append
To
add
Entry
Left
add
Entry
Right
Properties
canvas
canvas
:
HTMLCanvasElement
ctx
ctx
:
CanvasRenderingContext2D
entries
entries
:
(
CanvasImageSource
|
ClippedImage
)
[]
= []
left
left
:
number
= 0
right
right
:
number
= 0
Constructors
constructor
new
Horizontal
Image
Scroller
(
append_to
?:
HTMLElement
, width
?:
number
, height
?:
number
)
:
HorizontalImageScroller
Parameters
Optional
append_to:
HTMLElement
width:
number
= 300
height:
number
= 200
Returns
HorizontalImageScroller
Methods
append
To
append
To
(
element
:
HTMLElement
)
:
HTMLCanvasElement
Parameters
element:
HTMLElement
Returns
HTMLCanvasElement
add
Entry
Left
add
Entry
Left
(
entry
:
this
[
"entries"
]
[
number
]
)
:
Promise
<
void
>
Parameters
entry:
this
[
"entries"
]
[
number
]
Returns
Promise
<
void
>
add
Entry
Right
add
Entry
Right
(
entry
:
this
[
"entries"
]
[
number
]
)
:
Promise
<
void
>
Parameters
entry:
this
[
"entries"
]
[
number
]
Returns
Promise
<
void
>
github
readme
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
jacked_
atlas_
ts -
v0.1.2
Horizontal
Image
Scroller
canvas
ctx
entries
left
right
constructor
append
To
add
Entry
Left
add
Entry
Right
Generated using
TypeDoc