Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Button text="Click to display global variable" press="onDisplay"></Button>
- onInit:function()
- {
- this.value = "Welcome New user!"; //global variable
- },
- onDisplay:function()
- {
- sap.m.MessageToast.show(this.value);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement