removeView

removes the specified view of a carousel

void removeView(id|object view);
viewid|objectthe id or object of the child view which needs to be removed

Example

webix.ui({
    id:"mycarousel"
    cols:[
      { id:"mytemplate1" },
      { id:"mytemplate2" },
      { id:"mytemplate3" }
   ]
})
...
$$("mycarousel").removeView("mytemplate2");

Related samples

Details

The method works for layout rows and cols, multiview cells, accordion and carousel panels, toolbar and form controls.

See also
Back to top