Default
The filter bar is used to render a series of filter options, typically in conjunction with some type of datatable. Note that changes to the filter will be logged to the console in this example, they will not actually change the filter's value.
- HTML
<div class="t-content c-content" ng-controller="filterBarExampleController as $ctrl"> <div class="c-filterBar"> <div class="c-filterBar-filters"> <div class="c-filterBar-filter"> <inv-single-select class="c-filterButton is-removable" name="countryName" options="$ctrl.countryOptions" is-removable="$ctrl.isRemovable" on-selected-option="$ctrl.handleSingleSelect" on-remove="$ctrl.handleSingleSelectRemove"> </inv-single-select> </div> <div class="c-filterBar-filter"> <inv-single-select class="c-filterButton is-removable" name="paymentTypeName" options="$ctrl.paymentTypeOptions" is-removable="$ctrl.isRemovable" on-selected-option="$ctrl.handleSingleSelect" on-remove="$ctrl.handleSingleSelectRemove"> </inv-single-select> </div> <div class="c-filterBar-filter"> <inv-single-select class="c-filterButton is-removable" name="deviceTypeName" options="$ctrl.deviceTypeOptions" is-removable="$ctrl.isRemovable" on-selected-option="$ctrl.handleSingleSelect" on-remove="$ctrl.handleSingleSelectRemove"> </inv-single-select> </div> </div> </div> </div>