Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update avatar syntax and overview #469

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading