MDL-59758 js: auto_rows module easier to use
authorDamyon Wiese <damyon@moodle.com>
Fri, 8 Sep 2017 06:51:31 +0000 (14:51 +0800)
committerDamyon Wiese <damyon@moodle.com>
Tue, 7 Nov 2017 02:36:13 +0000 (10:36 +0800)
commitb9ae53f86b73ec13f7003f006679d5924ab1af22
treeb0e950cdf5543488e88cb406157fb7955b5efa6d
parent159b4e5d8c773fc1c71cb97e728d05f4cbb9d49e
MDL-59758 js: auto_rows module easier to use

Allow passing the direct text area, or a container.
Trigger change events on the text area, not the container.
Properly handle starting with rows > 1
lib/amd/build/auto_rows.min.js
lib/amd/src/auto_rows.js