BiPopup
A popup is a component that is displayed on top of all other components and is not limited by the parent components view port.
This class extends BiLabel and therefore all methods and fields available for BiLabel are also available for BiPopup .
Constructor
new BiPopup ( [ sText ] )
Parameters
| Name | Type | Optional | Default | Descripton |
sText | String | ![]() | "" | The text to show on the popup |
Properties
Methods
| Name | Description |
bringToFront | Makes so that the popup is displayed on top of all other shown popups. |
positionRelativeToComponent | Sets the popup to be positioned relative to another component. Valid values for the direction are vertical and horizontal. |
sendToBack | Makes so that the current popup is displayed behind all other shown popups |
Events
| Name | Type | Bubbles | Descripton |
beforeshow | | Fires before the popup is shown. This is a good place to change the content of the popup and set the preferred size if the default preferred size is not wanted | |
hide | | Fires when the popup is hidden | |
show | | Fires when the popup is shown |
Static Methods
None.
Static Fields
None.
Remarks
None.
Method Details
bringToFront
Makes so that the popup is displayed on top of all other shown popups.
Syntax
object.bringToFront ( ) Parameters
No arguments.
Return Type
void
positionRelativeToComponent
Sets the popup to be positioned relative to another component. Valid values for the direction are vertical and horizontal.
Syntax
object.positionRelativeToComponent ( oComponent [ ,sDir ] ) Parameters
| Name | Type | Optional | Default | Descripton |
oComponent | | The component to position the popup relative to | ||
sDir | String | ![]() | "vertical" | The direction relative to the component |
Return Type
void
sendToBack
Makes so that the current popup is displayed behind all other shown popups
Syntax
object.sendToBack ( ) Parameters
No arguments.
Return Type
void
