Show views
Stratox.js offers remarkable flexibility. You can use the same component view multiple times in various locations and with varying content.
How it works
1. Import
import StratoxIngress from './path/to/view/StratoxIngress';2. Initialize instance
const stratox = new Stratox("#app");3. Add view
stratox.view(StratoxIngress, {
headline: "Lorem ipsum dolor",
content: "Lorem ipsum dolor sit amet",
});5. Execute
stratox.execute();5. The HTML
6. The result
Combining multiple views
Quick create and set component
Last updated