Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/templates/g5_hydrogen/custom/particles/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/templates/g5_hydrogen/custom/particles/scroll-to.yaml

name: Scroll To
description: Display a Scroll To particle.
type: particle

configuration:
  caching:
    type: static

form:
  fields:
    enabled:
      type: input.checkbox
      label: Enabled
      description: Globally enable Scroll To particles.
      default: true

    _note:
      type: separator.note
      class: alert alert-info
      content: '<strong>This Particle requires the "UIkit
for Gantry5" Atom to be loaded.</strong>'

    text:
      type: input.text
      label: Text
      description: Enter the clickable text that will trigger the scroll.
      placeholder: Enter Text

    icon:
      type: input.icon
      label: Icon
      description: Select an icon to be placed in front of the text.

    link:
      type: input.text
      label: Scroll To (ID)
      description: Type in the ID of the corresponding part of the site
(without '#').

    smoothscrolloffset:
      type: input.text
      label: Smooth Scroll Offset
      description: Set the smooth scroll offset in pixels (the element top
offset). Do NOT type in 'px', enter just the digits.
      default: 0

    css.class:
      type: input.selectize
      label: CSS Classes
      description: CSS class name for the particle.
      default: 

    extra:
      type: collection.keyvalue
      label: Tag Attributes
      description: Extra Tag attributes.
      key_placeholder: Key (data-*, style, ...)
      value_placeholder: Value
      exclude: ['id', 'class']