question

Upvotes
Accepted
39 2 3 11

Is it possible to customize JavaScript Alert in EIKON Container?

Hi Team,

Any JavaScript alert in EIKON displays JavaScript Alert in the Title bar.

Is it possible to remove that from Title bar/ provide custom tags in Title bar?

Also if the alert content is larger, it is not displayed properly in the Alert box. The alert box is of fixed size.

Is it possible to increase the size of the JavaScript Alert box?

eikoneikon-app-studiojavascript
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
4.6k 26 7 22

Please refrain from using javascript alerts in the production applications.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
13k 32 12 18

@ayerajothi A better mechanism would be to use CSS/Javascript to display an emulated modal dialog box. Many standard libraries provide this functionality and allow customization. E.g Using dialog box with jQuery or bootstrap.

The Eikon way of providing notifications would be to invoke JET.toast() method. See JET documentation within Eikon for more details.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea