How to use AjaxView

I need examples and use cases for the AjaxView class located in the View folder. Thank you.

This is called if you call the ajax method

$this->getRequest()->is('ajax')