i want to make this https://stackblitz.com/edit/angular-dynamic-survey-creation-golkhg be dragable and save to json file, so i can make a view for the data, i've use angular cdk but i'm stuck in this function
onDrop(event: CdkDragDrop<string[]>) {
moveItemInArray(this.items, event.previousIndex, event.currentIndex);
}
i can't find a variable to replace this.items
, can someone help me? and of course i want to store the data to json file