Select to view content in your preferred language

Extending the Editor Widget

523
0
04-05-2022 12:20 PM
ralmario
New Contributor

I have seen older examples that demonstrate the ability to extend existing widgets and customize their functionality by overriding some of the parent class's methods. (https://github.com/jcfranco/uc-2019-customizing-widgets/tree/master/demos/custom-widget-views)

I am trying to modify the behavior of the Editor widget when certain buttons are clicked (i.e. preventing the default way the widget handles deleting a feature and substituting my own behavior). I attended the session from this year's dev summit that discussed building a custom ui for widgets but (if I remember correctly) in that session, the demonstrators leveraged the view model of the widget but created a brand new ui component for it. Is it still possible in 4.22/4.23 to be able to extend an existing widget, use the existing UI for it and override some of it's functions (that are not exposed in the api reference, such as _handleDelete)? 

Thank you in advance.

0 Kudos
0 Replies