How to use the ember-composable-helpers/helpers/contains.contains function in ember-composable-helpers

To help you get started, we’ve selected a few ember-composable-helpers examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github NYCPlanning / labs-zap-search / app / components / filter-section.js View on Github external
notifyAppliedFilters() {
    const { filterNames, appliedFilters } = this;

    if (!contains(filterNames, appliedFilters)) {
      this.mutateArray('applied-filters', filterNames);
    }
  }
}
github NYCPlanning / labs-zap-search / app / components / filter-section.js View on Github external
get filterIsActive() {
    const { filterNames, appliedFilters } = this;

    return contains(filterNames, appliedFilters);
  }

ember-composable-helpers

Composable helpers for Ember

MIT
Latest version published 3 years ago

Package Health Score

56 / 100
Full package analysis

Popular ember-composable-helpers functions