Relative Content

Tag Archive for sveltesveltekitsvelte-componentflowbite

Modify parent’s footer slot from child

In Svelte, I am using the Modal component.

This component provides the possibility do declare a div with the property slot="footer".

This will keep the footer always at the bottom of the modal. It will make the body scroll if there is a lot of content, while keeping the footer visible anchored at the bottom of the modal.

Svelte: modify parent’s footer slot from child

In Svelte, I am using the Modal component.

This component provides the possibility do declare a div with the property slot="footer".

This will keep the footer always at the bottom of the modal. It will make the body scroll if there is a lot of content, while keeping the footer visible anchored at the bottom of the modal.