Mark demo HTML sections with BEGIN/END comments (#2741)

This commit is contained in:
Paweł Kuna
2026-07-31 01:10:55 +02:00
committed by GitHub
parent 510871674d
commit 166c63cc34
65 changed files with 280 additions and 83 deletions
+2
View File
@@ -36,6 +36,7 @@ const colorpickerSelector = `#colorpicker-${id}`;
id={colorpickerId}
value={value}
/>
<!-- BEGIN COLORPICKER -->
<script define:vars={{ colorpickerId, colorpickerSelector, alpha, format, swatchesOnly, swatchProps }}>
function initColorpicker() {
window.tabler_colorpicker ??= {};
@@ -55,3 +56,4 @@ const colorpickerSelector = `#colorpicker-${id}`;
document.readyState !== 'loading' ? initColorpicker() : document.addEventListener('DOMContentLoaded', initColorpicker, { once: true });
</script>
<!-- END COLORPICKER -->