File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 /**
6060 * Ensures this element contains a ripple effect. For startup efficiency
6161 * the ripple effect is dynamically on demand when needed.
62- * @param {event } triggeringEvent (optional) event that triggered the
62+ * @param {!Event= } opt_triggeringEvent (optional) event that triggered the
6363 * ripple.
6464 */
65- ensureRipple : function ( triggeringEvent ) {
65+ ensureRipple : function ( opt_triggeringEvent ) {
6666 if ( ! this . hasRipple ( ) ) {
6767 this . _ripple = this . _createRipple ( ) ;
6868 this . _ripple . noink = this . noink ;
7272 }
7373 var domContainer = rippleContainer === this . shadyRoot ? this :
7474 rippleContainer ;
75- if ( triggeringEvent && domContainer . contains ( triggeringEvent . target ) ) {
76- this . _ripple . uiDownAction ( triggeringEvent ) ;
75+ if ( opt_triggeringEvent &&
76+ domContainer . contains ( opt_triggeringEvent . target ) ) {
77+ this . _ripple . uiDownAction ( opt_triggeringEvent ) ;
7778 }
7879 }
7980 } ,
You can’t perform that action at this time.
0 commit comments