mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
Mark demo HTML sections with BEGIN/END comments (#2741)
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user