Description
Contains attributes related to this livepage.
JS Syntax
window.GEVME.livepage
Rebar Syntax
{{livepage}}
Type
Object
Name | Type | Description | Rebar Syntax | JS Syntax |
---|---|---|---|---|
backgroundImage | String | Renders the background image based on the string url here. | {{backgroundImage}} | window.GEVME.backgroundImage |
hasCustomBackground | Boolean | Under livepage settings, if Use a custom background image is selected, this field will be true. | {{hasCustomBackground}} | window.GEVME.hasCustomBackground |
hasCustomLogo | Boolean | Similar to hasCustomBackground. | {{hasCustomLogo}} | window.GEVME.hasCustomLogo |
id | String | Id of the livepage. | {{id}} | window.GEVME.id |
isPublic | Boolean | Indicates whether the livepage is public. | {{isPublic}} | window.GEVME.isPublic |
isPublished | Boolean | Indicates whether the livepage is published. | {{isPublished}} | window.GEVME.isPublished |
logo | String | Renders the logo based on the string url here. | {{logo}} | window.GEVME.logo |
showcaseblocks | Object | Shows all the details about each block in the livepage. One example for Rich Text block is shown here. You may refer to other block types under Experience JSON tab. | {{showcaseblocks}} | window.GEVME.showcaseblocks |
showcaseblocksweight | Array of Objects | Similar to showcaseblocks. However, the main difference is that for showcaseblocks, the type is in array of objects, with all the showcaseblocks being ordered based on how they are configured. | {{showcaseblocksweight}} | window.GEVME.showcaseblocksweight |
slug | String | The uniquely identifiable URL slug of the livepage. To generate the full URL of a page, you can use:
Rebar Syntax:
{{project.rootUrl}} /{{livepage.slug}}
Javascript Syntax:
window.GEVME.project.rootURL + "/" + window.GEVME.livepage.slug | {{slug}} | window.GEVME.slug |
title | String | The title of the livepage. | {{title}} | window.GEVME.title |