-
Notifications
You must be signed in to change notification settings - Fork 0
/
review active.txt
50 lines (39 loc) · 2.09 KB
/
review active.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
isActive
inside layobj.js of (!) each element (how about dynamically setup? because by click true or null by default...) ut empty inside fusionelements.js
inside templ for elements (columns, rows and containers) of index1.html :class="{active: children.isActive}"
active_dom_el
//THIS IS REF TO ELEMENT IN DOM
lay.active_dom_el = this.$refs.ele_ref[index].$el;
ele_ref ---- inside element (+ cols, containers) ---> <templ v-bind:likes="likera" ref="ele_ref" ...
activeItem
only with lay
lay.activeItem
lay is layout component including layout template ---> var lay = new Vue({
i dont see any other using! like depricated
activeModelChildrens
//HERE WE CREATE LINK TO INSERT OBJECTS
gridState.activeModelChildrens = this.$parent.$parent.childrens;
inside data of gridState ---> activeModelChildrens: null,
//HERE WE INSERT OBJECTS TO CREATED LINK IN PREVIOUS
var indx = gridState.actIndexChildren+1;
gridState.activeModelChildrens.insert(indx, this.constrctr('container', array));
//there lives GRID editor (.grid_content_area_grider.builder-common-container)
activecolumn
inside data of elementsSlot --->
//REFERENCE of column model for pushing objects (of elements like button etc)
activeobject: null,
activecolumn: null,
inside method of elementsSlot.insertElement() by click push elements into column
//here we insert element into column
this.activecolumn.push(elobj);
inside component's 'child-component' of gridState method openModalAddElmnt() (opens window with available elements to insert)
sets ref for data's "activecolumn"
//just set refer to column for pushing element
elementsSlot.activecolumn = this.$props.childrens;
activeobject
inside data of elementsSlot --->
//REFERENCE of column model for pushing objects (of elements like button etc)
activeobject: null,
activeElHaveSchema
is for ELEMENTS WITH RICH EDITABLE STRUCTURE (Table, Pricing Table) - for own subeditor
activeModelChildrens