Attribute | Type | Values |
---|---|---|
variant | string |
|
Attribute | Type | Values |
---|---|---|
size | string |
|
<tui-modal-header></tui-modal><tui-modal-title> Modal Title </tui-modal-title></tui-modal-header>
<span style="cursor:pointer" onclick="togglemodal('close')" > x </span>
<tui-modal-body>Body</tui-modal-body>
<tui-modal-footer><tui-hstack justifyContent="flex-end" ></tui-modal-footer><tui-button variant="danger" onclick="togglemodal('close')"></tui-hstack>Cancel</tui-button>
<tui-button variant="primary" onclick="togglemodal('close')" >Ok</tui-button>
function togglemodal(action) {</script>if (action === 'open') {let modal = document.getElementById('modal'); modal.setAttribute('show', 'true');} else if (action === 'close') {let modal = document.getElementById('modal'); modal.removeAttribute('show', 'false');}
⚠️ Docs under construction ⚠️
Aenean malesuada nibh sed diam facilisis fringilla. Curabitur efficitur risus ac gravida volutpat. Quisque in ultrices libero. Fusce congue enim in lacus posuere finibus. Quisque eu imperdiet lectus. Mauris hendrerit congue libero, congue condimentum urna varius ac. Nulla scelerisque libero sed pretium gravida.
Aenean malesuada nibh sed diam facilisis fringilla. Curabitur efficitur risus ac gravida volutpat. Quisque in ultrices libero. Fusce congue enim in lacus posuere finibus. Quisque eu imperdiet lectus. Mauris hendrerit congue libero, congue condimentum urna varius ac. Nulla scelerisque libero sed pretium gravida.
⚠️ Docs under Construction ⚠️