Skip to main content

CaModal

A modal that can display a component inside it. Is triggered like so: this.$store.commit('modal/open', modalSettings). modalSettings should be an object including component (String) and componentProps (Object). The component must emit event ready when content is loaded.(Aria label & description)[https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role] is based on element with ids "ca-modaltitle" & "ca-modaldescription". Make sure to specify these in loaded component

SASS-path: ./styles/components/molecules/ca-modal.scss