seenproperty is changed to false, the second Text widget is removed from the window.
v-elsedirectives to create conditions with multiple alternatives:
itemsarray. When an item is added or removed from this array, corresponding Text widgets are automatically added or removed.
keyattribute for each item. This way, the state of widgets will be preserved when array items are reordered.