1 | import template from './sw-base-filter.html.twig'; |
||
2 | import './sw-base-filter.scss'; |
||
3 | |||
4 | const { Component } = Shopware; |
||
0 ignored issues
–
show
|
|||
5 | |||
6 | Component.register('sw-base-filter', { |
||
7 | template, |
||
8 | |||
9 | props: { |
||
10 | title: { |
||
11 | type: String, |
||
12 | required: true |
||
13 | }, |
||
14 | showResetButton: { |
||
15 | type: Boolean, |
||
16 | required: true |
||
17 | } |
||
18 | }, |
||
19 | |||
20 | methods: { |
||
21 | resetFilter() { |
||
22 | this.$emit('resetFilter'); |
||
23 | } |
||
24 | } |
||
25 | }); |
||
26 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.