Skip to content

Commit

Permalink
update avatar syntax and overview (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
oblomov-dev authored Dec 17, 2024
1 parent 648eaf9 commit 28d8da7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 8 additions & 0 deletions src/z2ui5_cl_demo_app_000.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -1980,6 +1980,14 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).

panel->generic_tile( header = 'Avatar Group'
subheader = ``
press = client->_event( 'z2ui5_cl_demo_app_320' )
mode = 'LineMode'
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).


client->view_display( page->stringify( ) ).

ENDMETHOD.
Expand Down
5 changes: 2 additions & 3 deletions src/z2ui5_cl_demo_app_320.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ CLASS z2ui5_cl_demo_app_320 DEFINITION
PUBLIC SECTION.
INTERFACES z2ui5_if_app.

DATA check_initialized TYPE abap_bool.
DATA viewPortPercentWidth TYPE i VALUE 100.

TYPES: BEGIN OF ty_item,
Expand Down Expand Up @@ -53,8 +52,8 @@ CLASS z2ui5_cl_demo_app_320 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
me->client = client.

IF check_initialized = abap_false.
check_initialized = abap_true.
IF client->check_on_init( ).

items = VALUE #(
mobile = `+89181818181`
phone = `+2828282828`
Expand Down

0 comments on commit 28d8da7

Please sign in to comment.