Posts

Showing posts with the label slide up

angular ng-show with slide

if you just want the final solution jump to the end, or this final jsBin: http://jsbin.com/jukogewobo/5/ . NOW IN GITHUB https://github.com/bresleveloper/bNgSlide a common case in web dev is the "Mega Menu", while you have a menu bar that should open under it another big menu. for this tutorial all my examples are shown in JSBINs, each part has its own link. the basic html I am using for part 1 looks like this:     < li ng-repeat ="level1 in data"         ng-mouseenter ="toggle($event, true)"         ng-mouseleave ="toggle($event, false)">              < div > //html  </ div >     </ li > the "li" is the repeater and event fire, and in the "div" the content to show/hide. part 1: simple logic (JSBIN) in Example 1 we see the "simple" solution with show/hide, nothing much to te...