<script type="text/html" class="modal__placeholder" id="test-modal-placeholder"></script>
<div class="modal__demo-toggle" data-modal-id="test-modal">
<button class="button--primary-small" type="submit">Open</button>
</div>
{% include '@SharedComponents/modules/shared/components/modal/modal.twig' %}
{
"id": "test-modal",
"title": "Test Modal",
"footer": null,
"closeLabel": "Close modal",
"headingLevel": "3",
"demo": true,
"size": "small",
"message": {
"variant": "warning",
"isHidden": false,
"textOnly": true,
"spacing": false,
"message": "Wollen Sie den Warenkorb und alle enthaltenen Artikel permanent löschen?",
"container": false
},
"cancelButton": {
"variant": "tertiary-light-small",
"type": "button",
"title": "Abbrechen"
},
"confirmButton": {
"variant": "primary-small",
"type": "button",
"title": "Löschen"
}
}
import ModalDemo, {selector as sel} from 'cando-cx-components-library/components/modules/shared/components/modal/modal-demo';
export default ModalDemo;
export const selector = sel;
import ModalMediator, {name as title} from 'cando-cx-components-library/components/modules/shared/components/modal/modal-mediator';
export default ModalMediator;
export const name = title;
import './modal.scss';
@import "~shared/base";
@import "~cando-cx-components-library/components/modules/shared/components/modal/modal";
No notes defined.