Explain Prevent default Method?

devquora
devquora

Posted On: Feb 22, 2018

 

In order to cancel the default behavior of the event, few classified ways of the event class can be used in event listener functions in order to affect the behavior. In this few events are associated with default behavior. Therefore in cases, the same event listener can cancel the behavior by using the prevent Default method. Prevent Default method will work only if the Cancellable property is true else it will not.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Flex Interview Questions

    State the difference between Item Renderer and Item Editors?

    Difference between item renderer and item editors are as follows; Both are used for the purpose of editing, but item re..

    Flex Interview Questions

    Why is disable auto update method used?

    This method is used as it protects the events that represent changes to the underlying data from being broadcast by the..

    Flex Interview Questions

    What is a View Cursor?

    A cursor is an instrument used for position indicator, it points to any particular item. View cursor is used in order t..