Sha256: 37893885d9fe541f44313a494eca6722ff6e40aa4c3246a9c7101a73fc5b8ac5
Contents?: true
Size: 412 Bytes
Versions: 379
Compression:
Stored size: 412 Bytes
Contents
import BaseFilterController from './filter_controller' export default class extends BaseFilterController { static targets = ['text'] getFilterValue() { return this.textTarget.value } tryToSubmit(e) { if (e.keyCode === 13) { return this.changeFilter() } return undefined } getFilterClass() { const { filterClass } = this.textTarget.dataset return filterClass } }
Version data entries
379 entries across 379 versions & 1 rubygems