- commit
- d3420dd8720e9402d7bc309545230ac59f54b104
- parent
- 5592207a144b9f879c14cf5268df25bfcbed2a76
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-08-22 16:32
fixup 4ac5822: adapt README to new constructor
Diffstat
| M | README.md | 6 | +++++- |
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
@@ -10,7 +10,11 @@ The code is intentionally very simple and close to browser defaults. 10 10 <link rel="stylesheet" href="select.css"> 11 11 <script src="select.js" type="module"></script> 12 12 <script>13 -1 new Select('myselect', element);-1 13 new Select(element, { -1 14 id: 'myselect', -1 15 inputClass: 'my-input-class', -1 16 valueClass: 'my-value-class', -1 17 }); 14 18 </script> 15 19 ``` 16 20