Opened 9 years ago
Last modified 9 years ago
#14507 confirmed New Feature
Ability to customize the position where the spinner icon is rendered on the dialog
Reported by: | Irina | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.0 |
Keywords: | IBM | Cc: | Satya Minnekanti, Christophe Guillou |
Description
We would like the ability to control the position of the spinner within the dialog. Currently it is attached to the dialog's title.
potentially this can be done by adding extra/optional parameter to the 'setState' dialog's method
setState: function( state, position ) { var oldState = this.state; ... this.parts.spinner.setHtml( '⌛' ); this.parts.spinner.appendTo( (position? position : this.parts.title), 1 ); } // Finally, show the spinner. this.parts.spinner.show(); ....
Change History (2)
comment:1 Changed 9 years ago by
Status: | new → confirmed |
---|---|
Type: | Bug → New Feature |
Version: | 4.5.7 → 4.5.0 |
I assume you are talking about spinner which is for example used in Media Embed Dialog which gets data asynchronously.
The issue makes sense but this is a feature request and not a bug (there is no problem with how current functionality works, there is just no way to customize it).