mode of ui.docmanager, Properties Webix Docs

StartAPI Referenceui.docmanagerProperties

sets the currently visible tab

string mode;

Values

  • list

  • cards

  • double

  • Example

    webix.ui({
      view:"docmanager", id: "dm",
      mode: "cards"
    });
     
    $$("dm").config.mode = "double";

    Default value:

    list

    Details

    The reactive property sets the currently/initially visible tab. Refreshing is not required as the change will be applied immediately.

    You can also access and alter this property via the widget state:

    $$("dm").getState().mode = "double";

    See also

  • API

  • Articles

  • Back to top