Skip to content

Commit 417edc9

Browse files
authored
Update popups.md
1 parent 68cbe88 commit 417edc9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/development/popups.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,13 @@ METHOD Z2UI5_if_app~main.
9595
)->popover( placement = 'Left'
9696
)->text( `this is a popover`
9797
)->button(
98-
text = `close`
98+
id = `my_id`
99+
text = `close`
99100
press = client->_event( `POPOVER_CLOSE` ) ).
100101
101102
client->popover_display(
102-
xml = view->stringify( )
103-
by_id = `test` ).
103+
xml = view->stringify( )
104+
by_id = `my_id` ).
104105
105106
WHEN 'POPOVER_CLOSE'.
106107
client->popover_destroy( ).
@@ -128,4 +129,4 @@ Several pre-built popup classes are available for specific scenarios:
128129
* z2ui5_cl_pop_textedit
129130
* z2ui5_cl_pop_to_confirm
130131
* z2ui5_cl_pop_to_inform
131-
* z2ui5_cl_pop_to_select
132+
* z2ui5_cl_pop_to_select

0 commit comments

Comments
 (0)