animate.breakLine

webix.animate.breakLine(line)

webix.animate.breakLine helper.

Please look into the linked official documentation.

References

helpers
clear().

Referenced by

helpers
animate().
mixins
Scrollable().
views
grouplist(), multiview().

External references

Official documentation page.

Code

1
2
3
4
5
6
7
8
9
webix.animate.breakLine=function(line){
    if(arguments[1])
        line[1].style.display = "none"; // 'keepViews' multiview mode
    else
        webix.html.remove(line[1]); // 1 = current
    webix.animate.clear(line[0]);
    webix.animate.clear(line[1]);
    line[0].style.position="";
};