patternfly
Version:
This reference implementation of PatternFly is based on [Bootstrap v3](http://getbootstrap.com/). Think of PatternFly as a "skinned" version of Bootstrap with additional components and customizations.
18 lines (15 loc) • 489 B
JavaScript
/**
* Utility to find items in Table View
*/
var findTableViewUtil = function (config) {
// Upon clicking the find button, show the find dropdown content
$(".btn-find").click(function () {
$(this).parent().find(".find-pf-dropdown-container").toggle();
});
// Upon clicking the find close button, hide the find dropdown content
$(".btn-find-close").click(function () {
$(".find-pf-dropdown-container").hide();
});
};
// Initialize find util
new findTableViewUtil();