def METHOD_NAME(self, value: Any) -> None:
    """Called when the value of this element changes.
    :param value: The new value.
    """
    self._props[self.VALUE_PROP] = self._value_to_model_value(value)
    if self._send_update_on_value_change:
        self.update()
    args = ValueChangeEventArguments(sender=self, client=self.client, value=self._value_to_event_value(value))
    handle_event(self.change_handler, args)