displaySnippet

Description

Displays or hides a snippet component in the application.

Platform Supported

  • Mobile

  • Web

Input / Parameter

NameDescriptionInput TypeDefaultOptionsRequired

snippet

The snippet component name to be used.

Text

-

-

Yes

show

To show or hide snippet.

Boolean

false

true, false

Yes

overlay

To make sure that it precedes the current page. It works like z-index.

Boolean

true

true, false

Yes

Output

Note: The snippet will be displayed or hidden based on the action chosen.

Last updated