javascript - Metro UI FluentMenu -
i want populate metro ui fluentmenu dropdown (see class="fluent-big-button dropdown-toggle") http://metroui.org.ua/fluent-menu.html via ajax servercall. after inserting received elements dom dropdown doesn't appear, elements correctly located in dom.
i think need additional initialization after loading new elements have no idea how this.
after inspecting library saw, fluentmenu realized jquery-widget (https://learn.jquery.com/jquery-ui/widget-factory/how-to-use-the-widget-factory/) - can "re-initialize" these plugins (the first time seems after page load completion)?
thanks regards, phil
the problem can fixed calling:
$("[data-role=dropdown]").dropdown();
Comments
Post a Comment