import Quickshell Creates and destroys instances of the given component when the given property changes.
Variants is similar to Repeater except it is for non Item objects, and acts as
a reload scope.
Each non duplicate value passed to model will create a new instance of
delegate with a modelData property set to that value.
See Quickshell.screens for an example of using Variants to create copies of a window per
screen.
WARNING
BUG: Variants currently fails to reload children if the variant set is changed as it is instantiated. (usually due to a mutation during variant creation)
Current instances of the delegate.
The component to create instances of.
The delegate should define a modelData property that will be popuplated with a value
from the model.
The list of sets of properties to create instances with. Each set creates an instance of the component, which are updated when the input sets update.