Preparing search index...
The search index is not available
saltcorn-monorepo
saltcorn-monorepo
@saltcorn/admin-models
pack
add_to_menu
Function add_to_menu
add_
to_
menu
(
item
)
:
Promise
<
void
>
Parameters
item
:
{
label
:
string
;
min_role
:
number
;
pagename
?:
string
;
type
:
"View"
|
"Page"
;
viewname
?:
string
;
}
{label, type, viewname, pagename, min_role}
label
:
string
min_
role
:
number
Optional
pagename
?:
string
type
:
"View"
|
"Page"
Optional
viewname
?:
string
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
saltcorn-
monorepo
@saltcorn/admin-
models
backup
pack
add_
to_
menu
can_
install_
pack
fetch_
available_
packs
fetch_
pack_
by_
name
install_
pack
library_
pack
model_
instance_
pack
model_
pack
page_
group_
pack
page_
pack
plugin_
pack
role_
pack
table_
pack
trigger_
pack
uninstall_
pack
view_
pack
tenant
@saltcorn/common-
code
@saltcorn/data
@saltcorn/db-
common
@saltcorn/markup
@saltcorn/mobile-
builder
@saltcorn/sqlite
@saltcorn/sqlite-
mobile
@saltcorn/types
Generated using
TypeDoc
{label, type, viewname, pagename, min_role}