OBJECT

PopupOrion

Pop-up displayed on an Orion Site

link GraphQL Schema definition

  • type PopupOrion {
  • # Id
  • id: Int!
  • # Name shown in the back-office list
  • name: String!
  • # Is the pop-up displayed on the Site? A Site displays at most one pop-up.
  • enabled: Boolean!
  • # How long the pop-up stays on screen, in seconds. 0 keeps it until the visitor
  • # closes it.
  • displayDuration: Int!
  • # How long the pop-up stays hidden for a visitor who closed it, in seconds. 0
  • # shows it on every page load.
  • cookieLife: Int!
  • # Text color, as an hexadecimal value
  • textColor: String!
  • # Background color, as an hexadecimal value
  • backgroundColor: String!
  • # Border style
  • borderType: PopupBorderType!
  • # Border width, in pixels
  • borderWidth: Int!
  • # Border color, as an hexadecimal value
  • borderColor: String!
  • # Border radius, in pixels
  • borderRadius: Int!
  • # Shadow preset
  • shadow: PopupShadow!
  • # Background opacity, from 0 to 100
  • opacity: Int!
  • # First day the pop-up is displayed
  • startDate: DateTime
  • # Last day the pop-up is displayed
  • endDate: DateTime
  • # Date of creation
  • createdAt: DateTime!
  • # Date of last update
  • updatedAt: DateTime!
  • # Translations
  • translations: [PopupOrionTranslation!]!
  • }