Lines Matching refs:childList

777   childList: ChildList;
778 constructor(childList: ChildList) {
779 this.childList = childList;
783 this.childList = tempList;
787 this.childList = []
792 @Link childList: ChildList;
808 let index = this.childList.findIndex((item) => {
812 this.childList.splice(index, 1);
832 @ObjectLink@Watch('changeChildList') childList: ChildList;
846 ForEach(this.childList, (item: Child, index) => {
849 childList: this.childList,
867 CompList({ childList: this.ancestor.childList })
887 …@State childList: ChildList = [new Child(1), new Child(2), new Child(3), new Child(4),new Child(5)…
888 @State ancestor: Ancestor = new Ancestor(this.childList)
909 this.childList = tempList;
913childList**, the **ForEach** view is updated and the UI is re-rendered. When you click **X** again…
915 You may notice that **childList** is initialized in the same way when it is defined in **Page**.
918 @State childList: ChildList = [new Child(1), new Child(2), new Child(3), new Child(4),new Child(5)];
919 @State ancestor: Ancestor = new Ancestor(this.childList)
922childList** there is observable, being decorated by @State. As such, while it is assigned an array…
939 childList: ChildList;
940 constructor(childList: ChildList) {
941 this.childList = childList;
948 this.childList = tempList;
952 this.childList = []
957 @Link childList: ChildList;
973 let index = this.childList.findIndex((item) => {
977 this.childList.splice(index, 1);
997 @ObjectLink@Watch('changeChildList') childList: ChildList;
1011 ForEach(this.childList, (item: Child, index) => {
1014 childList: this.childList,
1032 CompList({ childList: this.ancestor.childList })
1052 …@State childList: ChildList = [new Child(1), new Child(2), new Child(3), new Child(4),new Child(5)…
1053 @State ancestor: Ancestor = new Ancestor(this.childList)
1075 this.childList = tempList;
1079 …rved. As such, when you click **X** to delete an item, this change to **childList** is observed, t…