Block UI (ref)
Last updated
Was this helpful?
Last updated
Was this helpful?
(part of package 'Block UI')
You can access it in code via: plugins.svyBlockUI
Block UI Service can show an overlay over the whole browser page while some (long) operations are being executed. It prevents any interaction with the UI. The overlay UI can be customized from CSS, using block-ui-main and block-ui-spinner classes.
This is the delay in milliseconds how long it must take to start show the blocking ui Type: Number Default Value: 250
CSS style class applied to the message area of the blocking UI. Type:
(Deprecated) The overlay color for the blocking UI. Use CSS classes (block-ui-main) to style the overlay. Type: Default Value: "#ffffff"
(Deprecated) The overlay opacity for the blocking UI. Use CSS classes (block-ui-main) to style the overlay. Type: Number Default Value: 0.5
(Deprecated) The spinner configuration as a string. Use CSS classes (block-ui-spinner) to style the spinner. Type: String
Updates the message of the UI Blocker
Parameters:
{String} message The new message to display while the UI is blocked.
Shows the UI Blocker
Parameters:
Stops all UI Blockers
Parameters:
{Number} [timeout] Optional number of milliseconds until the blocker is hidden
(Deprecated) The background color for the spinner. Use CSS classes (block-ui-spinner) to style the spinner. Type: