docs: document value of `this` inside listeners

closes #5326