Hooking into event when record deleted from custom plugin
Because that's a Yii event, it doesn't follow the same component.eventName syntax that the other Craft events use and you can't use craft->on() to register to listen to it.

Completely untested, but you should be able to use the traditional Yii method, though. Something like this:

$myRecord-&gt;onAfterDelete = function (Event $event) {
    // Do your thing.
};