Skip to content

Web component whose function is content injection with dynamic templates provided through JSON

License

Notifications You must be signed in to change notification settings

chapeaux/cpx-content

Repository files navigation

Chapeaux Content Component

Content Component Purpose

  • Provide content injection via a variety of mechanisms
  • Allow targeted content placement with sensible fallback and fail states

Events

  • content-ready - fires when

Usage

  • Server-side or on-page

    Server-side template example

    ```html
    <cpx-content url="https://www.example.com/content">
        <template>
        <h1>Hello ${given_name}!</h1>
        </template>
    </cpx-content>
    ```
    

About

Web component whose function is content injection with dynamic templates provided through JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published