* Applies the given filter callback on the brick library array. * @param {function} filter Filter function * @return {LibraryModalView} Fluent interface
(filter)
| 32 | * @return {LibraryModalView} Fluent interface |
| 33 | */ |
| 34 | applyFilter (filter) { |
| 35 | this._filteredLibrary = this._library.filter(filter) |
| 36 | this.refresh() |
| 37 | return this |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Renders view. |
no test coverage detected