Open niksy opened 6 years ago
Great idea! This should definitely be implemented. I'm not sure about the new name though. I agree that selectorClass
needs to go, but is selectableItem
clear enough? (cc @FrancisKong)
What about selectableItems
is an array of nodes or components?
If
selectorClass
accepts function as value, it could be used for more expressive checks, e.g.But with this name
selectorClass
is not descriptive enough. Maybe rename it to something likeselectableItem
?