Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F995213
sortable.page.tsx
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
643 B
Referenced Files
None
Subscribers
None
sortable.page.tsx
View Options
import
type
{
Context
}
from
"koa"
;
import
{
TempstreamJSX
}
from
"tempstream"
;
import
{
Page
}
from
"@sealcode/sealgen"
;
import
html
from
"../../html.js"
;
import
{
sortable
}
from
"../common/sortable/sortable.js"
;
export
const
actionName
=
"SortableDemo"
;
export
default
new
(
class
SortableDemoPage
extends
Page
{
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async
canAccess
(
_
:
Context
)
{
return
{
canAccess
:
true
,
message
:
""
};
}
async
render
(
ctx
:
Context
)
{
return
html
(
ctx
,
"SortableDemo"
,
sortable
({
items
:
[
"One"
,
"Two"
,
"Three"
,
"Four"
,
"Five"
].
map
((
e
)
=>
<
div
>
{
e
}
<
/div>),
})
);
}
})();
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Mon, Dec 23, 00:54 (4 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556717
Default Alt Text
sortable.page.tsx (643 B)
Attached To
Mode
rPLAY Sealious playground
Attached
Detach File
Event Timeline
Log In to Comment