Documentation
Preparing search index...
@saltcorn/markup
export=
Variable export=
"export="
:
{
a
:
TagFunction
;
alert
:
(
type
:
string
,
s
:
string
)
=>
string
;
badge
:
(
col
:
string
,
lbl
:
string
)
=>
string
;
button
:
TagFunction
;
div
:
TagFunction
;
helpers
:
{
checkbox_group
:
(
__namedParameters
:
CheckBoxGroupOpts
)
=>
string
;
dropdown_checkboxes
:
(
__namedParameters
:
{
btnClass
:
string
;
btnLabel
:
string
;
checked
:
Record
<
string
,
boolean
>
;
items
:
(
string
|
{
label
:
string
;
value
:
string
}
)
[]
;
onChange
?:
string
;
}
,
)
=>
string
;
isdef
:
(
x
:
any
)
=>
boolean
;
pagination
:
(
opts
:
PaginationOpts
)
=>
string
;
radio_group
:
(
opts
:
RadioGroupOpts
)
=>
string
;
search_bar
:
(
name
:
string
,
v
:
string
|
number
,
param2
?:
any
)
=>
string
;
select_options
:
(
v
:
any
,
hdr
:
any
,
force_required
?:
boolean
,
neutral_label
?:
string
,
sort
?:
boolean
,
)
=>
string
[]
;
}
;
hr
:
TagFunction
;
i
:
TagFunction
;
input
:
TagFunction
;
link
:
(
href
:
string
,
s
:
string
,
attributes
?:
any
)
=>
string
;
localeDate
:
(
date
:
Date
,
options
?:
any
,
locale
?:
string
)
=>
string
;
localeDateTime
:
(
date
:
Date
,
options
?:
any
,
locale
?:
string
)
=>
string
;
localeTime
:
(
date
:
Date
,
options
?:
any
,
locale
?:
string
)
=>
string
;
mkForm
:
(
form
:
AbstractForm
,
csrfToken
:
string
|
boolean
,
errors
?:
any
,
)
=>
string
;
mkFormContentNoLayout
:
(
form
:
AbstractForm
,
errors
?:
any
)
=>
string
;
mkTable
:
(
hdrs
:
HeadersParams
[]
,
vs
:
any
[]
,
opts
?:
any
)
=>
string
;
post_btn
:
(
href
:
string
,
s
:
string
,
csrfToken
:
string
,
opts
?:
any
,
)
=>
string
;
post_delete_btn
:
(
href
:
string
,
req
:
any
,
what
?:
string
)
=>
string
;
post_dropdown_item
:
(
href
:
string
,
s
:
string
,
req
:
any
,
confirm
?:
boolean
,
what
?:
string
,
)
=>
string
;
renderBuilder
:
(
__namedParameters
:
any
,
csrfToken
:
any
)
=>
string
;
renderForm
:
(
form
:
string
|
AbstractForm
,
csrfToken0
:
string
|
boolean
,
)
=>
string
;
renderFormLayout
:
(
form
:
AbstractForm
)
=>
string
;
settingsDropdown
:
(
id
:
string
,
elems
:
any
)
=>
string
;
tabs
:
(
obj
:
any
)
=>
string
;
tags
:
TagExports
;
toast
:
(
type
:
string
,
s
:
string
,
id
?:
string
,
title
?:
string
)
=>
string
;
}
Type Declaration
a
:
TagFunction
alert
:
(
type
:
string
,
s
:
string
)
=>
string
badge
:
(
col
:
string
,
lbl
:
string
)
=>
string
button
:
TagFunction
div
:
TagFunction
helpers
:
{
checkbox_group
:
(
__namedParameters
:
CheckBoxGroupOpts
)
=>
string
;
dropdown_checkboxes
:
(
__namedParameters
:
{
btnClass
:
string
;
btnLabel
:
string
;
checked
:
Record
<
string
,
boolean
>
;
items
:
(
string
|
{
label
:
string
;
value
:
string
}
)
[]
;
onChange
?:
string
;
}
,
)
=>
string
;
isdef
:
(
x
:
any
)
=>
boolean
;
pagination
:
(
opts
:
PaginationOpts
)
=>
string
;
radio_group
:
(
opts
:
RadioGroupOpts
)
=>
string
;
search_bar
:
(
name
:
string
,
v
:
string
|
number
,
param2
?:
any
)
=>
string
;
select_options
:
(
v
:
any
,
hdr
:
any
,
force_required
?:
boolean
,
neutral_label
?:
string
,
sort
?:
boolean
,
)
=>
string
[]
;
}
checkbox_group
:
(
__namedParameters
:
CheckBoxGroupOpts
)
=>
string
dropdown_checkboxes
:
(
__namedParameters
:
{
btnClass
:
string
;
btnLabel
:
string
;
checked
:
Record
<
string
,
boolean
>
;
items
:
(
string
|
{
label
:
string
;
value
:
string
}
)
[]
;
onChange
?:
string
;
}
,
)
=>
string
isdef
:
(
x
:
any
)
=>
boolean
checks if x is defined
pagination
:
(
opts
:
PaginationOpts
)
=>
string
radio_group
:
(
opts
:
RadioGroupOpts
)
=>
string
search_bar
:
(
name
:
string
,
v
:
string
|
number
,
param2
?:
any
)
=>
string
select_options
:
(
v
:
any
,
hdr
:
any
,
force_required
?:
boolean
,
neutral_label
?:
string
,
sort
?:
boolean
,
)
=>
string
[]
hr
:
TagFunction
i
:
TagFunction
input
:
TagFunction
link
:
(
href
:
string
,
s
:
string
,
attributes
?:
any
)
=>
string
localeDate
:
(
date
:
Date
,
options
?:
any
,
locale
?:
string
)
=>
string
localeDateTime
:
(
date
:
Date
,
options
?:
any
,
locale
?:
string
)
=>
string
localeTime
:
(
date
:
Date
,
options
?:
any
,
locale
?:
string
)
=>
string
mkForm
:
(
form
:
AbstractForm
,
csrfToken
:
string
|
boolean
,
errors
?:
any
)
=>
string
mkFormContentNoLayout
:
(
form
:
AbstractForm
,
errors
?:
any
)
=>
string
mkTable
:
(
hdrs
:
HeadersParams
[]
,
vs
:
any
[]
,
opts
?:
any
)
=>
string
post_btn
:
(
href
:
string
,
s
:
string
,
csrfToken
:
string
,
opts
?:
any
)
=>
string
post_delete_btn
:
(
href
:
string
,
req
:
any
,
what
?:
string
)
=>
string
UI Form for Delete Item confirmation
post_dropdown_item
:
(
href
:
string
,
s
:
string
,
req
:
any
,
confirm
?:
boolean
,
what
?:
string
)
=>
string
renderBuilder
:
(
__namedParameters
:
any
,
csrfToken
:
any
)
=>
string
renderForm
:
(
form
:
string
|
AbstractForm
,
csrfToken0
:
string
|
boolean
)
=>
string
renderFormLayout
:
(
form
:
AbstractForm
)
=>
string
settingsDropdown
:
(
id
:
string
,
elems
:
any
)
=>
string
tabs
:
(
obj
:
any
)
=>
string
tags
:
TagExports
toast
:
(
type
:
string
,
s
:
string
,
id
?:
string
,
title
?:
string
)
=>
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
checks if x is defined