Vueで@focusがつかえないのですがそれは定義しないと使えないものなのでしょうか?
vue
1input.searchBox(type="text", @focus="toggle()"") 2コード
vue
1data() { 2 return { 3 Active: true 4 } 5}, 6methods: { 7 toggle(){ 8 this.Active = !this.Active 9 } 10コード
回答1件
あなたの回答
tips
プレビュー
投稿2018/08/09 15:36
編集2018/08/09 15:36Vueで@focusがつかえないのですがそれは定義しないと使えないものなのでしょうか?
vue
1input.searchBox(type="text", @focus="toggle()"") 2コード
vue
1data() { 2 return { 3 Active: true 4 } 5}, 6methods: { 7 toggle(){ 8 this.Active = !this.Active 9 } 10コード
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/11 04:16