File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 1212 * @author Ibrahim BinAlshikh
1313 */
1414class CRUDList extends HTMLNode {
15+ private $ vlist ;
1516 /**
1617 *
1718 * @var Dialog
@@ -125,10 +126,19 @@ public function __construct($props) {
125126 $ this ->getConfirmDeleteDialog ()->getToolbar ()->addChild ('v-toolbar-title ' )->text ($ deleteDialogTitle );
126127
127128 }
129+ /**
130+ * Returns the v-list element that contains list items.
131+ *
132+ * @return HTMLNode
133+ */
134+ public function getVList () {
135+ return $ this ->vlist ;
136+ }
128137 private function createBody ($ props ) {
129- $ itemsGroup = $ this ->addChild ('v-card-text ' )->addChild ('v-list ' , [
138+ $ this -> vlist = $ this ->addChild ('v-card-text ' )->addChild ('v-list ' , [
130139 'dense ' ,
131- ])->addChild ('v-list-item-group ' ,[
140+ ]);
141+ $ itemsGroup = $ this ->vlist ->addChild ('v-list-item-group ' ,[
132142
133143 ]);
134144 $ itemsGroup ->addChild ('v-list-item ' , [
You can’t perform that action at this time.
0 commit comments