Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7188879
form-control.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
511 B
Referenced Files
None
Subscribers
None
form-control.ts
View Options
import
Router
from
"@koa/router"
;
import
{
Context
}
from
"koa"
;
import
{
FlatTemplatable
}
from
"tempstream"
;
import
{
FormDataValue
,
FormMessage
}
from
"../form"
;
export
abstract
class
FormControl
{
abstract
render
(
ctx
:
Context
,
data
:
Record
<
string
,
FormDataValue
>
,
messages
:
FormMessage
[],
field_name_prefix
:
string
,
form_id
:
string
,
validate
:
boolean
)
:
FlatTemplatable
|
Promise
<
FlatTemplatable
>
;
abstract
role
:
"input"
|
"decoration"
|
"messages"
|
"submit"
;
mount
(
router
:
Router
)
{}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Tue, Jul 8, 08:34 (7 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
803084
Default Alt Text
form-control.ts (511 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline
Log In to Comment