Application
Reference
Parameters
domain
Subdomain to be used when accessing the application through a data2.app URL, e.g., if the domain is 'site', you'll access your application through site.yoursystemdomain.data2.app. To have your application render on yoursystemdomain.data2.app, use 'app' as the domain value.
Component data2-core-primitives@String
name
Name to used as the title of the page.
Component data2-core-primitives@String
shortName
Short name of the web manifest.
Component data2-core-primitives@String
description
Description to be used in the HTML metatags and in the web app manifest.
Component data2-core-primitives@String
display
Preferred display mode. This value is used in the Web app manifest. Defaults to 'browser'.
Component data2-core-primitives@String
One of 'browser' | 'fullscreen' | 'standalone' | 'minimal-ui'
orientation
Default orientation, used in the web app manifest. Defaults to 'any'.
Component data2-core-primitives@String
One of 'any' | 'natural' | 'portrait' | 'landscape'
themeColor
Default theme color, used in the web app manifest.
Component data2-core-types@Color
backgroundColor
Placeholder color for the application. Used in the resulting HTML and in the web app manifest.
Component data2-core-types@Color
entryPoint
What the application will render, usually an Artboard or a Router.
Component data2-core-types@ComponentInstanceReference
font
Fonts that will be used as default, i.e., when the Block doesn't select a Text Font.
Component data2-core-web@Fonts
icon
Component data2-core-types@FileComponentUrlReference
appIcon
Icon to be used in the web app manifest. Can also be used as the iOS Icon if the iOS Icon isn't configured.
Component data2-core-primitives@String
image
Image to be used in the og:image meta tag.
Component data2-core-primitives@String
responseHeaders
Sets some HTTP headers in the response. Advanced usage!
Component data2-core-primitives@Object
X-Frame-Options
: data2-core-primitives@StringContent-Security-Policy
: data2-core-primitives@StringX-XSS-Protection
: data2-core-primitives@String
One of 'DENY' | 'SAMEORIGIN'
Sets the header X-Frame-Options. For more information on this header, see the link.
Sets the Content-Security-Policy header.
One of 'DENY' | 'SAMEORIGIN'
Sets the header X-XSS-Protection. For more information on this header, see the link.
metaTags
list
Meta tags that will be set in the HTML.
Component data2-core-web@MetaTag