body > header > title

You have a number of options to display a title in the client area (body) of your app. The simplest is a title string, like this:

Title string in body

Code fragment showing Jasonette title text in body


    "body": {
      "header": {
        "title": "We're the tops!"
      }
    }

Full example code showing simple body title using text:

{
  "$jason": {
    "head": {
      "title": "title in body.header Jasonette tutorial example",
      "description": "Display title in header portion of Jasonette body",
      "actions": {
        "$foreground": {
          "type": "$reload"
        }
      }
    },
    "body": {
      "header": {
        "title": "We're the tops!"
      }
    }
  }
}

Jasonette-Web demo | Jasonbase source code

Simple body title example using image:

TODO: Add explanation

[ Jasonette-Web demo | Jasonbase source code ]

{
  "$jason": {
    "head": {
      "title": "title in body.header using image Jasonette tutorial example",
      "description": "Display title as image in header portion of Jasonette body",
      "actions": {
        "$foreground": {
          "type": "$reload"
        }
      }
    },
    "body": {
      "header": {
        "title": {
          "type": "image",
          "url": "https://en.wikipedia.org/favicon.ico"
        }
      }
    }
  }
}

Screen

results matching ""

    No results matching ""