swipefeed
Preparing search index...
SwipeDeckRenderContext
Interface SwipeDeckRenderContext<T>
interface
SwipeDeckRenderContext
<
T
>
{
index
:
number
;
isActive
:
boolean
;
item
:
T
;
props
:
HTMLAttributes
<
HTMLElement
>
&
{
"data-active"
:
boolean
;
"data-index"
:
number
;
ref
?:
(
instance
:
HTMLElement
|
null
)
=>
void
|
(
()
=>
VoidOrUndefinedOnly
)
;
}
;
shouldPreload
:
boolean
;
}
Type Parameters
T
Index
Properties
index
is
Active
item
props
should
Preload
Properties
index
index
:
number
is
Active
isActive
:
boolean
item
item
:
T
props
props
:
HTMLAttributes
<
HTMLElement
>
&
{
"data-active"
:
boolean
;
"data-index"
:
number
;
ref
?:
(
instance
:
HTMLElement
|
null
)
=>
void
|
(
()
=>
VoidOrUndefinedOnly
)
;
}
should
Preload
shouldPreload
:
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
index
is
Active
item
props
should
Preload
swipefeed
Loading...