Const
Shield component providing protective overlay for UI elements. Blocks user interaction with underlying content.
Basic usage with overlay
shield( {overlay: true}, [ headerBar({title: 'Protected Content'}), group([ text({text: 'This content is protected by a shield'}), ]), ]); Copy
shield( {overlay: true}, [ headerBar({title: 'Protected Content'}), group([ text({text: 'This content is protected by a shield'}), ]), ]);
Either the content to display or the options object
Content to display when first parameter is options object
The default width is the same as bubble container (350px).
Shield component providing protective overlay for UI elements. Blocks user interaction with underlying content.