1.0.0 • Published 6 years ago
cp-content-module v1.0.0
Customer Portal Content Module Element
A custom element wrapper for delivering content modules. This element makes it possible to place modular content in any context whether it be a Drupal page or a single page app.
Attributes
address-url
Provide an API url to the content of the module. The data format that this element is expecting is in the following format:
{
"content": "<p>Some blob of HTML</p>"
}
If the address-url
is provided, we expect the <slot></slot>
to be empty.
1.0.0
6 years ago