<st-feature-split>
JSON type: FeatureSplit
A title/markdown-subtitle/feature-list block beside (or under) an image. The action-label button
is a real link to href: the browser follows it unless the cancelable feature-split-action
event is cancelled (a router does this to navigate client-side).
Usage
import '@sankhyatronics/sankhya-cms/feature-split'; // registers <st-feature-split>
Properties
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
inverted | inverted | boolean | false | |
title | title | string | '' | |
subtitle | subtitle | string | '' | Markdown. |
items | — | FeatureSplitItem[] | [] | |
imageSrc | image-src | string | '' | |
imageAlt | image-alt | string | '' | |
imagePosition | image-position | FeatureSplitImagePosition | 'right' | |
actionLabel | action-label | string | '' | |
href | href | string | '' |
Events
| Event | Detail | Description |
|---|---|---|
feature-split-action | Cancelable, before following the action link. Detail { href }. |
See the live examples in Storybook.