Configuration Blocks
Last updated
Was this helpful?
Last updated
Was this helpful?
Configuration Blocks have many purposes;
Attribute library configuration
Callback handlers
Special functionality, like Trigger or Action definitions
All SA configuration blocks are HTML <script>
elements with a specific structure.
Here's an example;
In the SA5 documentation, configuration blocks will be presented for you to easily copy, paste, and edit in your Webflow project.
The script tag supports has 3 defined attributes;
type
Required
application/sa+json
handler
Required
The handler's name
See the module documention for details.
name
Varies, depending on the handler
The specific name of the configuration block, which is library-dependent.
@context
https://attr.sygnal.com
@version
0.1
Indicates the version of the configuration block being used. Specific modules may increment this.
The JSON content used depends on the handler type.
See the module documentation for details.