Currently subslot only emits a no-match event if no valid elements are found, however it would be very nice if it also emitted a mismatch event when invalid elements are found. My use-case is I'm using subslot to validate the components a user is passing in through a slot and if they pass an invalid component I would like to log a console warning. Thanks!
Currently
subslotonly emits ano-matchevent if no valid elements are found, however it would be very nice if it also emitted amismatchevent when invalid elements are found. My use-case is I'm usingsubslotto validate the components a user is passing in through a slot and if they pass an invalid component I would like to log a console warning. Thanks!