Preparation of nanocellulose-based polyaniline composite film and its application in electrochromic device