Merge branch 'feature/childrenForlistLVCBBdy' into 'develop'
Added ParentMoleculeModelProtocol ### Summary Added ParentMoleculeModelProtocol to access children Co-authored-by: Krishna Kishore Bandaru <krishna.kishore.bandaru@verizon.com> Co-authored-by: Keerthy <keerthy.marakanti@verizon.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/939
This commit is contained in:
commit
05899b1e5e
@ -7,7 +7,7 @@
|
||||
//
|
||||
|
||||
|
||||
open class ListLeftVariableCheckboxBodyTextModel: ListItemModel, MoleculeModelProtocol {
|
||||
open class ListLeftVariableCheckboxBodyTextModel: ListItemModel, MoleculeModelProtocol, ParentMoleculeModelProtocol {
|
||||
//--------------------------------------------------
|
||||
// MARK: - Properties
|
||||
//--------------------------------------------------
|
||||
@ -16,6 +16,10 @@ open class ListLeftVariableCheckboxBodyTextModel: ListItemModel, MoleculeModelPr
|
||||
public var checkbox: CheckboxModel
|
||||
public var headlineBody: HeadlineBodyModel
|
||||
|
||||
public var children: [MoleculeModelProtocol] {
|
||||
[checkbox, headlineBody]
|
||||
}
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Initializer
|
||||
//--------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user