Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/jet-smart-filters   php

Repository URL to install this package:

Version: 2.2.1 

/ src / js / filters / ButtonApply.js

import Filter from 'bases/Filter';

export default class ButtonApply extends Filter {
	name = 'button-apply';

	constructor($container) {
		const $filter = $container.find('.apply-filters');

		super($filter, $container);

		this.$filter.find('.apply-filters__button').on('click', () => {
			this.emitFitersApply();
		})
	}
}