@api.onchange decorator is used when field's value is changed.It can be used to validate a data or trigger into a an action. This method can be invoked on psuedo records that contain values of the form. So,In this video it describes about @api.onchange method on client interface