Hover help¶
Render a hover-triggered help icon with a positioned pop-up panel. Control initialization and rendering for a SAIFHoverHelp instance.
| Field | Value |
|---|---|
| Operation ID | OP-V2-018 |
| Trigger | Control initialization and rendering for a SAIFHoverHelp instance. |
| Inputs | HelpText, PanelWidth, PopupPosition. |
| Outputs | A help icon and a positioned pop-up panel containing HelpText. |
| Primary components | SAIFHoverHelp |
| Entry point | SAIF.Presentation.Web.Controls.V2/SAIFHoverHelp.vb |
Steps¶
- Apply CSS class
HoverHelpV2and register/Resources/Scripts/Controls/HoverHelp.js. (BR-V2-100) - Render the default help icon
/Resources/Images/DefaultHelpImage.gifand a pop-up panel sized byPanelWidthand positioned perPopupPosition, containingHelpText. (BR-V2-101, BR-V2-102)
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start([Init]) --> Css[Apply HoverHelpV2 CSS class, register HoverHelp.js]
Css --> RenderS([Render])
RenderS --> Icon[Render default help icon]
Icon --> Popup[Render pop-up panel sized/positioned per PanelWidth/PopupPosition]
Popup --> Done([Rendered])
Failure and edge-case behavior¶
- No exceptional failure handling beyond the branches described in Steps was found in the analysis findings.*
Related documentation¶
Sources¶
SAIF.Presentation.Web.Controls.V2/SAIFHoverHelp.vb