Skip to content
On this page

NcAppNavigationNewItem

Props

Prop nameDescriptionTypeValuesDefault
titleThe title of the element.string-
iconRefers to the icon on the left, this prop accepts a class
like 'icon-category-enabled'.
string-''
loadingDisplays a loading animated icon on the left of the element
instead of the icon.
boolean-false
editLabelOnly for 'editable' items, sets label for the edit action button.string-''
editPlaceholderSets the placeholder text for the editing form.string-''

Events

Event namePropertiesDescription
new-item

Slots

NameDescriptionBindings
icon

Usage

New Item element

<NcAppNavigationNewItem title="New Item" icon="icon-add" @new-item="function(value){alert(value)}" />

New Item element with a loading animation instead of the icon

<NcAppNavigationNewItem title="New Item" icon="icon-add" :loading="true" />