ASPxClientHintOptions.onHiding Event
In This Article
A handler for the ASPxClientHint.Hiding event.
#Declaration
TypeScript
onHiding: ASPxClientEvent<ASPxClientHintHidingEventHandler>
#Event Data
The onHiding event's data class is ASPxClientHintHidingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
cancel | Gets or sets a value indicating whether the event should be canceled. |
content |
Gets the object that is the hint’s content. |
hint |
Gets the object that is the hint element. |
target |
Gets the object that is the hint’s target element. |
title |
Gets the object that is the hint’s title. |
#Remarks
The onHiding handler raises when the hint is about to be hidden. The onHiding handler allows processing the custom logic before hiding the hint and/or cancel hiding.
ASPxClientHint.Register(
'target_element_selector',
{
onHiding: function (sender, args) {
//custom logic
args.cancel = true;
}
);
See Also