Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F6241323
html.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
445 B
Referenced Files
None
Subscribers
None
html.ts
View Options
import
{
Context
}
from
"koa"
;
import
{
FlatTemplatable
}
from
"tempstream"
;
import
{
FormControl
}
from
"./controls"
;
export
class
HTML
extends
FormControl
{
role
=
<
const
>
"decoration"
;
constructor
(
public
renderer
:
((
ctx
:
Context
)
=>
FlatTemplatable
)
|
string
)
{
super
();
}
async
render
(
ctx
:
Context
)
:
Promise
<
FlatTemplatable
>
{
if
(
typeof
this
.
renderer
===
"string"
)
{
return
this
.
renderer
;
}
return
this
.
renderer
(
ctx
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Tue, Jun 17, 03:29 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
663331
Default Alt Text
html.ts (445 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline
Log In to Comment