@@ -182,12 +182,12 @@ const metadata = {
182
182
* Fired, when the primaryTitle is pressed.
183
183
*
184
184
* @event
185
- * @param {HTMLElement } iconRef dom ref of the clicked icon
185
+ * @param {HTMLElement } targetRef dom ref of the clicked element
186
186
* @public
187
187
*/
188
188
titlePress : {
189
189
detail : {
190
- iconRef : { type : HTMLElement } ,
190
+ targetRef : { type : HTMLElement } ,
191
191
} ,
192
192
} ,
193
193
@@ -197,38 +197,38 @@ const metadata = {
197
197
*
198
198
*
199
199
* @event
200
- * @param {HTMLElement } iconRef dom ref of the clicked icon
200
+ * @param {HTMLElement } targetRef dom ref of the clicked element
201
201
* @public
202
202
*/
203
203
notificationsPress : {
204
204
detail : {
205
- iconRef : { type : HTMLElement } ,
205
+ targetRef : { type : HTMLElement } ,
206
206
} ,
207
207
} ,
208
208
209
209
/**
210
210
* Fired, when the profile icon is pressed.
211
211
*
212
212
* @event
213
- * @param {HTMLElement } iconRef dom ref of the clicked icon
213
+ * @param {HTMLElement } targetRef dom ref of the clicked element
214
214
* @public
215
215
*/
216
216
profilePress : {
217
217
detail : {
218
- iconRef : { type : HTMLElement } ,
218
+ targetRef : { type : HTMLElement } ,
219
219
} ,
220
220
} ,
221
221
222
222
/**
223
223
* Fired, when the product switch icon is pressed.
224
224
*
225
225
* @event
226
- * @param {HTMLElement } iconRef dom ref of the clicked icon
226
+ * @param {HTMLElement } targetRef dom ref of the clicked element
227
227
* @public
228
228
*/
229
229
productSwitchPress : {
230
230
detail : {
231
- iconRef : { type : HTMLElement } ,
231
+ targetRef : { type : HTMLElement } ,
232
232
} ,
233
233
} ,
234
234
} ,
@@ -306,7 +306,7 @@ class ShellBar extends WebComponent {
306
306
this . _header = {
307
307
press : event => {
308
308
this . fireEvent ( "titlePress" , {
309
- iconRef : this . shadowRoot . querySelector ( ".sapWCShellBarMenuButton" ) ,
309
+ targetRef : this . shadowRoot . querySelector ( ".sapWCShellBarMenuButton" ) ,
310
310
} ) ;
311
311
} ,
312
312
} ;
@@ -610,19 +610,19 @@ class ShellBar extends WebComponent {
610
610
611
611
_handleNotificationsPress ( event ) {
612
612
this . fireEvent ( "notificationsPress" , {
613
- iconRef : this . shadowRoot . querySelector ( ".sapWCShellBarBellIcon" ) ,
613
+ targetRef : this . shadowRoot . querySelector ( ".sapWCShellBarBellIcon" ) ,
614
614
} ) ;
615
615
}
616
616
617
617
_handleProfilePress ( event ) {
618
618
this . fireEvent ( "profilePress" , {
619
- iconRef : this . shadowRoot . querySelector ( ".sapWCShellBarImageButton" ) ,
619
+ targetRef : this . shadowRoot . querySelector ( ".sapWCShellBarImageButton" ) ,
620
620
} ) ;
621
621
}
622
622
623
623
_handleProductSwitchPress ( event ) {
624
624
this . fireEvent ( "productSwitchPress" , {
625
- iconRef : this . shadowRoot . querySelector ( ".sapWCShellBarIconProductSwitch" ) ,
625
+ targetRef : this . shadowRoot . querySelector ( ".sapWCShellBarIconProductSwitch" ) ,
626
626
} ) ;
627
627
}
628
628
0 commit comments