🌊
jsf
  • About KalmiaJSF
  • Setup
  • Architecture
  • Contributing
  • Changelog
  • Guides
    • Cheat Sheet
  • Examples
    • Demo example
    • Basic examples
    • Kitchen Sink example
    • Charts example
  • Schema
    • Intro to Schema
    • Prop types
      • String
      • Boolean
      • Number & Integer
      • Object
      • Array
      • Date
      • Id
      • Null
      • Ref
      • Binary
    • Prop options
      • Disabling property
      • On prop init actions
      • Persist
      • On value change
      • On user value change
    • Handlers
      • Color picker
    • Creating custom handler
      • Working with arrays
    • Value provider
  • Validation
    • Custom validation
    • Eval
  • LAYOUT
    • Intro to Layout
    • Layout options
      • Show & hide
      • On click action
  • INTERFACES
    • Value Options
  • Form
    • Form data
  • OTHER
    • Events
    • Lifecycle hooks
    • Notifications support
  • PAGES & COMPONENTS
    • Page
    • Component
  • THEMING
    • Creating new theme variant
  • BUILDER
    • Shortcuts
  • Help
    • FAQ
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. PAGES & COMPONENTS

Page

PreviousNotifications supportNextComponent

Last updated 4 years ago

Was this helpful?

JsfPage is very simple part of JSF it only holds entry point for JsfComponent and manages data source subscriptions for components.

Interface is very simple, title and favicon properties are not used by JSF they are there for your APP if you choose to use it.

For JsfComponent interface definition check section.

interface JsfPage {
    title?: string;
    favicon?: string;
    component: JsfComponent;
}

Example JSON for comments page showing comments list JSF definition form.

{
  "title": "Comments",
  "component": {
    "jsfDefinition": {
      "$ref": "comments-list-form"
    }
  }
}
component