File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -359,6 +359,14 @@ this._off( this.element, "click" );
359
359
<desc >
360
360
Invokes the method of the same name from the parent widget, with any specified arguments. Essentially <code >.call()</code >.
361
361
</desc >
362
+ <example >
363
+ <desc >Call the parent widget's <code >_setOption()</code > method.</desc >
364
+ <code ><![CDATA[
365
+ _setOption: function( key, value ) {
366
+ this._super( key, value );
367
+ }
368
+ ]]> </code >
369
+ </example >
362
370
</method >
363
371
<method name =" _superApply" >
364
372
<desc >
@@ -367,6 +375,14 @@ this._off( this.element, "click" );
367
375
<argument name =" arguments" type =" Array" >
368
376
<desc >Array of arguments to pass to the parent method.</desc >
369
377
</argument >
378
+ <example >
379
+ <desc >Call the parent widget's <code >_setOption()</code > method.</desc >
380
+ <code ><![CDATA[
381
+ _setOption: function( key, value ) {
382
+ this._superApply( arguments );
383
+ }
384
+ ]]> </code >
385
+ </example >
370
386
</method >
371
387
<method name =" _delay" return =" Number" >
372
388
<desc >
You can’t perform that action at this time.
0 commit comments