1,738
edits
mNo edit summary |
|||
== Commandline parameters (v7 and up) ==
To have modules work properly with the commandline parameters introduced in version 7 of CUtils, you need to use a script in your own index file:▼
▲To have modules work properly with the commandline parameters introduced in version 7 of CUtils, you need to use
<pre>
<script src='lib/cumulusutils.js'></script>▼
<script>▼
const urlParams = new URLSearchParams(window.location.search);▼
</script>▼
</pre>
This library is generated with the website command separately with the CUlib command. <br>
It has it's [[CumulusUtils Runtime Library|own entry in the wiki]].
You can also use - i.s.o. the
<pre>
▲ <script>
▲<script src='lib/cumulusutils.js'></script>
▲ const urlParams = new URLSearchParams(window.location.search);
▲ </script>
</pre>
[[Category:CumulusUtils]]
|