File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 33 <div v-if =" gridlayout_loaded" style =" padding : 0px ; width : 100% ;" >
44 <grid-layout
55 :layout.sync =" grid_layout"
6- :col-num =" 12 "
7- :row-height =" 30 "
6+ :col-num =" col_num "
7+ :row-height =" row_height "
88 :is-draggable =" draggable"
99 :is-resizable =" resizable"
1010 :is-mirrored =" false"
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ class GridLayout(v.VuetifyTemplate):
5353 resizable = traitlets .CBool (True ).tag (sync = True )
5454 cdn = traitlets .Unicode (None , allow_none = True ).tag (sync = True )
5555 on_layout_updated = traitlets .traitlets .Callable (None , allow_none = True )
56+ col_num = traitlets .Int (12 ).tag (sync = True )
57+ row_height = traitlets .Int (30 ).tag (sync = True )
5658
5759 def vue_layout_updated (self , * args ):
5860 if self .on_layout_updated is not None :
You can’t perform that action at this time.
0 commit comments