66 < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
77 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
88 < link rel ="icon " href ="https://cdn.cocreate.app/favicon.ico " type ="image/ico " sizes ="16x16 ">
9- < title > CoCreate-builder | CoCreate </ title >
9+ < title > CoCreate-attributes | CoCreateJS </ title >
1010 < meta name ="description " content ="Website and web app Builder framework using Cocreate Componets " />
1111 < meta name ="keywords " content ="helper classes, utility classes, css framework, css library, inline style classes " />
1212 < meta name ="robots " content ="index,follow " />
1313
14- <!-- CoCreate CSS -->
14+ <!-- CoCreate CSS CDN -->
1515 < link rel ="stylesheet " href ="https://cdn.cocreate.app/latest/CoCreate.min.css " type ="text/css " />
1616
1717
2929</ head >
3030
3131< body >
32- <!-- Navbar -->
33- < div class ="nav display:flex align-items:center background:whitesmoke " data-main_content_id ="canvas " data-scroll_effect ="hide-nav " data-scroll_up ="1 " data-scroll_down ="1 ">
3432
35- <!-- Menu Icon Animations -->
36- < a class ="nav-toggle menu_icon--Vdots " data-toggle_sidenav ="menuL ">
37- < div class ="circle "> </ div >
38- < div class ="circle "> </ div >
39- < div class ="circle "> </ div >
40- < div class ="circle "> </ div >
41- < div class ="circle "> </ div >
42- </ a >
43-
44- <!-- Horizontal Scroll Nav/Tabs -->
45- < ul class ="cocreate-scroll display:inline-flex direction:rtl font-size:24px align-items:center list-style-type:none width:100% height:50px ">
46-
47- <!-- Modal Controls -->
48- < li class ="margin-right:15px ">
49- < a class ="btn-modal-close "> < i class ="fas fa-times "> </ i > </ a >
50- </ li >
51- < li class ="margin-right:15px "> < a class ="btn-modal-maximize "> < i data-transform_to ="far fa-window-restore " class ="far fa-window-maximize ">
52- </ i > </ a >
53- </ li >
54- < li class ="margin-right:15px "> < a class ="btn-modal-minimize "> < i class ="far fa-window-minimize ">
55- </ i > </ a >
56- </ li >
57-
58- <!-- fullscreen toogle and icon transform-->
59- < li class ="margin-right:15px ">
60- < a class ="fs-toggle "> < i data-transform_to ="fas fa-compress " class ="fas fa-expand "> </ i > </ a >
61- </ li >
62-
63- <!-- Open code Editor in modal-->
64- < li class ="margin-right:15px ">
65- < a target ="modal " href ="code-editor.html " data-modal_header ="true " data-pass_collection ="blocks " data-pass_document_id ="" data-pass_to ="form-fields " data-modal_width ="100% " data-modal_height ="100% " data-modal_color ="#229954 ">
66- < i class ="fa fa-code "> </ i >
67- </ a >
68- </ li >
69-
70- <!-- Builder Controls -->
71- < li class ="margin-right:15px ">
72- < a id ="clean-canvas ">
73- < i class ="far fa-trash-alt "> </ i >
74- </ a >
75- </ li >
76- < li class ="margin-right:15px ">
77- < a id ='element-borders ' class =""> < i class ="far fa-square "> </ i > </ a >
78- </ li >
79- < li class ="margin-right:15px ">
80- < a id ="redo-canvas " class =""> < i class ="fas fa-redo-alt "> </ i > </ a >
81- </ li >
82- < li class ="margin-right:15px ">
83- < a id ='undo-canvas ' class =""> < i class ="fas fa-undo-alt "> </ i > </ a >
84- </ li >
85-
86- < li class ="margin-right:15px ">
87- < a id ="desktop-view " class =""> < i class ="fas fa-desktop "> </ i > </ a >
88- </ li >
89- < li class ="margin-right:15px ">
90- < a id ="tablet-view " class =""> < i class ="fas fa-tablet-alt "> </ i > </ a >
91- </ li >
92- < li class ="margin-right:15px ">
93- < a id ="mobile-view " class =""> < i class ="fas fa-mobile-alt "> </ i > </ a >
94- </ li >
95- </ ul >
96- </ div >
97-
98- <!-- Modal viewport -->
99- < div class ="position:fixed margin-top:50px " data-main_content_id ="canvas " id ="modal-viewport "> </ div >
10033
10134 <!-- Main Container -->
10235 < div data-main_content_id ="canvas " class ="height:100vh overflow:scroll ">
10336 < iframe data-vdom_id ="test " id ="canvas " src ="./iframe.html " frameborder ="0 " width ="100% " height ="100% "> </ iframe >
10437 </ div >
10538
106- <!-- CoCreate SideNav Left -->
107- < div id ="menuL " class ="cocreate-sidenav background:gainsboro " data-main_content ="canvas " sidenav-default_desktop ="expanded " sidenav-default_tablet ="offcanvas " sidenav-default_phone ="offcanvas " sidenav-ontoggle_desktop ="offcanvas " sidenav-ontoggle_tablet ="offcanvas ">
108- < div class ="">
109- < ul class ="overflow:scroll height:100vh margin:5px background:white padding:0 padding-left:5px ">
110- < div data-vdom_target ="test " data-group_name ="test "> </ div >
111- <!-- CoCreate Render to get list of blocks -->
112- < div data-template_id ="template1 " data-fetch_collection ="blocks " data-filter_name ="menu-position " data-filter_value ="0 " data-filter_value_type ="number " data-filter_operator ="$ne " data-order_by ="menu-position " data-order_type ="asc " data-pass_to ="blocks ">
113- </ div >
114-
115- <!-- template -->
116- < li data-CoC-draggable ="true " class ="template menuItem " id ="header " data-insert-html ='{{html}} '>
117- < span data-collection ="" data-document_id ="" name ="icon " data-pass_id ="blocks " class ="padding-10px "> </ span >
118- < span data-collection ="" data-document_id ="" name ="name " data-pass_id ="blocks "> </ span >
119- < div class ="float-right ">
120- < a target ="modal " href ="block-form.html " data-pass_collection ="blocks " data-pass_document_id ="" data-pass_id ="blocks " data-pass_to ="form-fields " data-modal_width ="320px " data-modal_height ="100% " data-modal_color ="#229954 ">
121- < i class ="fas fa-pencil-alt "> </ i >
122- </ a >
123- </ div >
124- < span data-collection ="" data-document_id ="" name ="html " data-pass_id ="blocks "> </ span >
125- </ li >
126-
127- </ ul >
128- </ div >
129-
130- < div class ="resizeHandler "> </ div >
131- </ div >
132- <!-- End CoCreate SideNav Left -->
39+
13340
13441 <!-- CoCreate SideNav Right -->
13542 < div id ="menuR " class ="cocreate-sidenav sidenav-right background:gainsboro " data-main_content ="canvas " sidenav-default_desktop ="expanded " sidenav-default_tablet ="expanded " sidenav-default_phone ="expanded ">
13643 < div class ="padding:5px cocreate-scroll ">
13744 < form >
13845 < input data-attribute_sync ="myAttribute " type ="text " class ="floating-label attr " placeholder ="Draggable " data-attribute_target ="#new ">
139- <!--<input data-attribute_sync="innerText" type="text" class="floating-label attr" placeholder="style-text" data-attribute_target="#new">-->
140- <!--<input data-attribute_sync="innerText" type="color" class="floating-label attr" placeholder="style-color" data-attribute_target="#new">-->
141- <!--<input data-attribute_sync="innerText" type="date" class="floating-label" placeholder="style-data-time" data-attribute_target="#new">-->
142- <!--<input type="search" class="floating-label" placeholder="Search" data-attribute_sync="innerText" data-attribute_target="#new">-->
143- <!--<input type="date" class="floating-label" placeholder="Date" data-attribute_sync="innerText" data-attribute_target="#new">-->
144- <!--<input type="time" class="floating-label" placeholder="Time" data-attribute_sync="innerText" data-attribute_target="#new">-->
145- <!--<input type="datetime-local" class="floating-label" placeholder="Date Time" data-attribute_sync="innerText" data-attribute_target="#new">-->
146- <!--<textarea class="floating-label" data-realtime="" placeholder="Text Area" data-attribute_sync="innerText" data-attribute_target="#new"></textarea>-->
147-
148-
149- <!--<h3 data-attribute_sync="innerText" data-attribute_target="#new" contenteditable>test</h3>-->
15046
15147
15248 < p > different name:</ p >
17571 < br >
17672 < br >
17773 < br >
178- <!-- multiple -->
179- <!--<select name="cars" id="cars" data-attribute_sync="style" data-attribute_target="#new" multiple>-->
180- <!-- <option value="background:green;">background:green;</option>-->
181- <!-- <option value="color:blue;">color:blue;</option>-->
182- <!-- <option value="mercedes">Mercedes</option>-->
183- <!-- <option value="audi">Audi</option>-->
184- <!--</select>-->
18574
18675 < select name ="cars " id ="cars " data-attribute_sync ="class " data-attribute_target ="#new " multiple >
18776 < option value ="class1 "> class1</ option >
@@ -250,32 +139,6 @@ <h3 >value 3</h3>
250139 </ ul >
251140 </ cocreate-select >
252141
253- <!--<cocreate-select class="floating-label sortable" multiple-->
254- <!-- data-attribute_sync="style" -->
255- <!-- data-attribute_target="#new"-->
256- <!-- name="selectField1" -->
257- <!-- placeholder="Multiple Documents" -->
258- <!-- data-limit_selectable="3">-->
259-
260- <!-- <input class="option-search" placeholder="Search">-->
261-
262- <!-- <ul class="selectable--list cocreate-scroll">-->
263- <!-- <li class="selectable"value="background: red;">-->
264- <!-- <h3 value="hello">background: red;</h3>-->
265- <!-- </li>-->
266- <!-- <li class="selectable" value="color: blue;">-->
267- <!-- <h3 >color: blue;</h3>-->
268- <!-- </li>-->
269- <!-- <li class="selectable" value="font-size: 30px;">-->
270- <!-- <h3 >font-size: 30px;</h3>-->
271- <!-- </li>-->
272- <!-- <li class="selectable" value="noy a css">-->
273- <!-- <h3 >noy a css</h3>-->
274- <!-- </li>-->
275- <!-- </ul>-->
276-
277- <!--</cocreate-select>-->
278-
279142
280143 </ form >
281144 </ div >
@@ -297,8 +160,8 @@ <h3 >value 3</h3>
297160 }
298161 </ script >
299162
300- <!--<script defer src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script> -->
301- < script defer src ="https://server .cocreate.app/CoCreate-components /CoCreate-attributes/dist/CoCreate-attributes .js "> </ script >
163+ <!--CoCreateJS CDN -->
164+ < script src ="https://cdn .cocreate.app/latest /CoCreate.min .js "> </ script >
302165
303166
304167</ body >
0 commit comments