teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

エラー内容の追記

2018/06/26 11:14

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -27,4 +27,7 @@
27
27
  this.classList.add("test");
28
28
  console.log('transition end : active is ' + this.activeIndex);
29
29
  });
30
- ```
30
+ ```
31
+ エラーは下記の通りです。
32
+ TypeError:Cannot read property 'add' of indefined
33
+ なんでclassList.addでエラーがでているのかわかりません・・・