Vocabulary for Wanikani

Adds vocabulary to the wanikani dashboard

< 腳本Vocabulary for Wanikani的回應

提問/評論

§
發表於:2017-02-05

Level display

I would suggest to show each level for vocabulary word on separate lines. I changed the display procedure to

      let sublist = document.createElement('ul');
        innerContainer.appendChild(sublist);
        this.vocabulary.forEach((word) => {
          if (word.isMarker) {
            sublist = document.createElement('ul');
            innerContainer.appendChild(sublist);
          }
          let wordElement = new WordElement(word);
          wordElement.attachTo(sublist);
      });

This makes looking at different level easier

Eekone作者
§
發表於:2017-02-05

Updated

發表回覆

登入以回覆