mirror of
https://gitlab.com/Alamantus/Readlebee.git
synced 2025-06-05 17:06:38 +02:00
Enable specifying modal styling
This commit is contained in:
parent
896dc7b869
commit
8e17d0ec7e
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export const modal = (modalId, controller, contentHTML, options = {}) => {
|
||||||
<input id=${modalId} type="checkbox" ${!isOpen ? null : 'checked'}
|
<input id=${modalId} type="checkbox" ${!isOpen ? null : 'checked'}
|
||||||
onchange=${() => controller.openModal = isOpen ? modalId : null }/>
|
onchange=${() => controller.openModal = isOpen ? modalId : null }/>
|
||||||
<label for=${modalId} class="overlay"></label>
|
<label for=${modalId} class="overlay"></label>
|
||||||
<article>
|
<article style=${typeof options.styles !== 'undefined' ? options.styles : null}>
|
||||||
|
|
||||||
${typeof options.headerHTML === 'undefined'
|
${typeof options.headerHTML === 'undefined'
|
||||||
? (
|
? (
|
||||||
|
|
Loading…
Add table
Reference in a new issue