@@ -24,6 +24,7 @@
</select>
</p>
<input type='checkbox' id='check1'>
+ <pre id='state' style='background-color: lightgray;'></pre>
<script src="index.js"></script>
</body>
</html>
@@ -66,4 +66,9 @@ var $s = nbInit({
p1: "para"
});
+document.onchange = function(){
+ $s.state = "";
+ $s.state = JSON.stringify($s, null, 4);
+}
+