* Find bindings using the tag filter. If the filter matches one of the * binding tags, the binding is included. * * @param tagFilter - A filter for tags. It can be in one of the following * forms: * - A regular expression, such as `/controller/` * - A wildcard pattern string with o
(
tagFilter: BindingTag | RegExp,
)
| 620 | * `{name: 'my-controller'}` |
| 621 | */ |
| 622 | findByTag<ValueType = BoundValue>( |
| 623 | tagFilter: BindingTag | RegExp, |
| 624 | ): Readonly<Binding<ValueType>>[] { |
| 625 | return this.find(filterByTag(tagFilter)); |
| 626 | } |
| 627 | |
| 628 | /** |
| 629 | * Find bindings by tag leveraging indexes |