export=
export=: {
a: any;
alert: ((type, s) => string);
badge: ((col, lbl) => string);
button: any;
div: any;
hr: any;
i: any;
input: any;
link: ((href, s, attributes?) => string);
localeDate: ((date, options?, locale?) => string);
localeDateTime: ((date, options?, locale?) => string);
localeTime: ((date, options?, locale?) => string);
mkTable: ((hdrs, vs, opts?) => string);
post_btn: ((href, s, csrfToken, opts?) => string);
post_delete_btn: ((href, req, what?) => string);
post_dropdown_item: ((href, s, req, confirm?, what?) => string);
renderBuilder: ((__namedParameters, csrfToken) => string);
renderForm: ((form, csrfToken0) => string);
settingsDropdown: ((id, elems) => string);
tabs: ((obj) => any);
toast: ((type, s, id?) => string);
}
Type declaration
-
a: any
-
alert: ((type, s) => string)
-
- (type, s): string
-
Returns string
-
badge: ((col, lbl) => string)
-
- (col, lbl): string
-
Returns string
-
button: any
-
div: any
-
hr: any
-
i: any
-
input: any
-
link: ((href, s, attributes?) => string)
-
- (href, s, attributes?): string
-
Parameters
-
href: string
-
s: string
-
attributes: any = {}
Returns string
-
localeDate: ((date, options?, locale?) => string)
-
- (date, options?, locale?): string
-
Parameters
-
date: Date
-
options: any = {}
-
locale: string = "en"
Returns string
-
localeDateTime: ((date, options?, locale?) => string)
-
- (date, options?, locale?): string
-
Parameters
-
date: Date
-
options: any = {}
-
locale: string = "en"
Returns string
-
localeTime: ((date, options?, locale?) => string)
-
- (date, options?, locale?): string
-
Parameters
-
date: Date
-
options: any = ...
-
locale: string = "en"
Returns string
-
mkTable: ((hdrs, vs, opts?) => string)
-
- (hdrs, vs, opts?): string
-
Parameters
-
hdrs: HeadersParams[]
-
vs: any[]
-
Optional
opts: any = {}
Returns string
-
post_btn: ((href, s, csrfToken, opts?) => string)
-
- (href, s, csrfToken, opts?): string
-
Parameters
-
href: string
-
s: string
-
csrfToken: string
-
opts: any = {}
Returns string
-
post_delete_btn: ((href, req, what?) => string)
-
- (href, req, what?): string
-
Parameters
-
href: string
-
req: any
-
Optional
what: string
Returns string
return html form
-
post_dropdown_item: ((href, s, req, confirm?, what?) => string)
-
- (href, s, req, confirm?, what?): string
-
Parameters
-
href: string
-
s: string
-
req: any
-
Optional
confirm: boolean
-
Optional
what: string
Returns string
-
renderBuilder: ((__namedParameters, csrfToken) => string)
-
- (__namedParameters, csrfToken): string
-
Parameters
-
__namedParameters: any
-
csrfToken: any
Returns string
-
renderForm: ((form, csrfToken0) => string)
-
- (form, csrfToken0): string
-
Parameters
-
form: string | AbstractForm
-
csrfToken0: string | boolean
Returns string
-
settingsDropdown: ((id, elems) => string)
-
- (id, elems): string
-
Returns string
-
tabs: ((obj) => any)
-
toast: ((type, s, id?) => string)
-
- (type, s, id?): string
-
Parameters
-
type: string
-
s: string
-
Optional
id: string
Returns string
This is the saltcorn-markup package