Custom component interaction with ion-item

I’m wanting to build a custom component with a picker that should act like the ion-datetime does - in that when it’s nested inside an ion-item tag, it seems to add various classes to the ion-item which make it behave differently (e.g. tapping on the ion-item activates the picker, shows ripple, etc.) How is this possible with a custom component of my own (in Angular)?