A draggable, customizable Pop up that toggle hiddent content via attributes. Great for multitasking and showing multiple views.
CoCreate-modal uses <a> tag.
When you click <a> tag, modal comes to the surface.
<button>
<a actions="state, openModal" modal-src="https://server.cocreate.app/CoCreate-adminUI/module_datatable.html"
modal-width="520px"
modal-height="100%"
modal-color="#229954"
modal-header="false"
modal-x="0px"
modal-y="0px"
data-open_in="page">
Show Modal On Page
</a>
</button>
-
target string required
Target must be "modal".
-
href string required
Href attribute indicates html file to set in modal.
-
modal-width string optional
Width of modal. Unit can be pixel or percent.
-
modal-height string optional
Height of modal. Unit can be pixel or percent.
-
modal-color color optional
Color of modal border.
-
modal-header boolean optional
Attribute whether to show header or not.
-
modal-x string optional
Position X of modal.
-
modal-y string optional
Position Y of modal.
-
open_in string optional
Attribute where to show modal in. "page" for current page. "parent" for parent page. "root" for root page.