I am currently developing a Chrome web application using the Chrome and Javascript platform APIs and I just can't find a way to display the tooltip dialog box () to set the user a value so that he doesn't click anywhere until he enters a value and will not accept or cancel (which means EXACTLY how this works with Javascript).
My problem: I just can't find a way to do this using the Chrome platform APIs (note: tooltips (), alert () and confirm () cannot be used in packaged applications). I’ve already checked questions similar to mine, and they all point to Google App Script documentation, which doesn’t work for Chrome Apps.
The only “solution” I really found was to create a new window allowing singleton so that it could only be an instance and display the form there, getting the value when the user accepts (I haven’t really finished this last part, I need to check when the window is closed with the button). However, this is pretty much for a simple dialogue.
Is there an easy way to do this so that I am absent or is this the “intended” way to do this to use multiple windows?
source
share