ASP.NET MVC Controls | ComponentOne
In This Topic
    IToolbarItem Interface
    In This Topic
    File
    c1.nav.js
    Module
    c1.nav

    Defines the interface for a normal toolbar item.

    Properties

    Properties

    command

    A method to be called when the toolbar item is clicked.

    Type
    Function

    element

    A html fragment, text or svg fragment represents the toolbar item(icon and title)

    Type
    string

    icon

    A html fragment or svg fragment represents the toolbar icon.

    Type
    string

    isVisible

    A method that takes a Tile object and returns a boolean that decides which toolbar item should be shown in the toolbar. If it returns false, the item will be not shown.

    Type

    title

    A pure text or a html fragment represents the toolbar title.

    Type
    string