You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Extended Widget onLoad Event

Received Response
37
Views
1
Comments
edited Jun 7, 2022 1:22PM in General Technical Discussions 1 comment

Summary

how to fire an event on selectInput page load time

Content

I have a Widget that extends the SelectionInput standard widget.

In the constructor, there is a listener for a CHANGE event, which invokes the _selection() funcion.

  overrides: {
        /**
         * Overrides RightNow.Widgets.SelectionInput#constructor.
         */
        constructor: function() {
            // Call into parent's constructor       
            this.parent();    
            this.on('change'this._selectionthis);

So, I need the same of functionality for the onLoad event.
I've tried the following line in the constructor (and created the _load function as well), but it didn't work

 this.on('load'this._loadthis);

Is there a way to achieve this requirement?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!