Skip to content

Commit a8baeba

Browse files
committed
Remove unnecessary 'val' parameter name in client->_event() calls
- share.md: Change client->_event( val = `BUTTON_POST` ) to client->_event( `BUTTON_POST` ) - app_state.md: Change client->_event( val = `BUTTON_POST` ) to client->_event( `BUTTON_POST` ) When only the val parameter is used, the parameter name can be omitted
1 parent 3f1e38b commit a8baeba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/development/navigation/app_state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CLASS z2ui5_cl_sample_app_state IMPLEMENTATION.
2727
)->input( client->_bind_edit( mv_quantity )
2828
)->button(
2929
text = `post with state`
30-
press = client->_event( val = `BUTTON_POST` )
30+
press = client->_event( `BUTTON_POST` )
3131
)->stringify( ) ).
3232
ENDIF.
3333

docs/development/navigation/share.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CLASS z2ui5_cl_sample_share IMPLEMENTATION.
2323
)->input( client->_bind_edit( mv_quantity )
2424
)->button(
2525
text = `share`
26-
press = client->_event( val = `BUTTON_POST` )
26+
press = client->_event( `BUTTON_POST` )
2727
)->stringify( ) ).
2828
ENDIF.
2929

0 commit comments

Comments
 (0)