@skhema/web-component
v0.0.24
Published
Embeddable web component for integration with Skhema application.
Maintainers
Readme
@skhema/web-component
An embeddable web component for Contributor's to wrap content that can be immediately integrated in to Skhema's business strategy platform.
CDN Usage
<script src="https://unpkg.com/@skhema/web-component"></script>
<skhema-element element-type="key_challenge" contributor-id="your_username">
Strategic busines content goes here.
</skhema-element>NPM Usage
npm install @skhema/web-componentimport '@skhema/web-component'
// Component is automatically registeredAttributes
| Attribute | Required | Description |
| ---------------- | -------- | ------------------------------------- |
| element-type | ✓ | Type of strategic element |
| contributor-id | ✓ | Your contributor identifier |
| content | | Alternative to inner text |
| theme | | Visual theme: light, dark, auto |
Element Types
key_challenge- Business challengessupporting_fact- Evidence and data pointsguiding_policy- Strategic approachessolution_alternative- Potential solutions- And more...
Example
<article>
<p>The automotive industry is undergoing transformation...</p>
<skhema-element element-type="key_challenge" contributor-id="analyst">
Traditional automakers face retooling challenges while competing with Tesla.
</skhema-element>
</article>License
MIT
