File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 846846
847847 panel->generic_tile(
848848 header = 'Dynamic Objects IV'
849- subheader = 'User Generic Tab Refs in Subapps'
849+ subheader = 'User Generic Struc Refs in Subapps'
850850 press = client->_event( 'Z2UI5_CL_DEMO_APP_191' )
851851 mode = 'LineMode'
852852 class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
853853 ).
854854
855- panel->generic_tile(
856- header = 'Dynamic Objects V'
857- subheader = 'User Generic Struc Refs'
858- press = client->_event( 'Z2UI5_CL_DEMO_APP_195' )
859- mode = 'LineMode'
860- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
861- ).
862855
863856 panel = page->panel(
864857 expandable = abap_false
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ ENDCLASS.
1414
1515
1616
17- CLASS z2ui5_cl_demo_app_001 IMPLEMENTATION .
17+ CLASS Z2UI5_CL_DEMO_APP_001 IMPLEMENTATION .
1818
1919
2020 METHOD z2ui5_if_app ~main .
@@ -26,6 +26,7 @@ CLASS z2ui5_cl_demo_app_001 IMPLEMENTATION.
2626 quantity = '500' .
2727
2828 DATA (view ) = z2ui5_cl_xml_view=>factory( ).
29+ view->_generic( ns = `html` name = `style` )->_cc_plain_xml( `.my-style{ background: black !important; opacity: 0.6; color: white; }` ).
2930 client->view_display( view->shell(
3031 )->page(
3132 title = 'abap2UI5 - First Example'
@@ -48,7 +49,8 @@ CLASS z2ui5_cl_demo_app_001 IMPLEMENTATION.
4849 CASE client->get( )-event.
4950
5051 WHEN 'BUTTON_POST' .
51- client->message_toast_display( | { product } { quantity } - send to the server| ).
52+ client->message_toast_display( text = | { product } { quantity } - send to the server| at = 'left bottom' offset = '0 -15' animationtimingfunction = `ease-in`
53+ class = 'my-style' ).
5254
5355 WHEN 'BACK' .
5456 client->nav_app_leave( ).
You can’t perform that action at this time.
0 commit comments