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/video-feature.yaml

name: Video Feature
description: Display a video feature.
type: particle

configuration:
  caching:
    type: static

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

    mainheading:
      type: input.text
      label: Title
      description: Type in the title.
      placeholder: 'Enter Title'
      default: ''

    introtext:
      type: textarea.textarea
      label: Intro Text
      description: Type in the intro text.
      placeholder: 'Enter Intro Text'
      default: ''

    layout:
      type: select.select
      label: Layout
      description: Select the layout for this particle.
      placeholder: 'Select...'
      default: left
      options:
        left: Video on the left
        right: Video on the right

    video:
      type: textarea.textarea
      label: Video Iframe
      description: Paste your video iframe code here.

    videowidth:
      type: input.text
      label: Video Width
      description: Type in the width of the video block in percentage. It
must be a digit between 0 and 100. The default is '50'.
      default: 50

    title:
      type: input.text
      label: Title
      description: Type in the title text.
      placeholder: Enter title

    description:
      type: textarea.textarea
      label: Description
      description: Type in the description text.
      placeholder: Enter description

    link:
      type: input.text
      label: Button Link
      description: Type in the URL.

    buttontext:
      type: input.text
      label: Button Text
      description: Type in the button text.

    buttonicon:
      type: input.icon
      label: Button Icon
      description: Select an icon for the button.

    target:
      type: select.select
      label: Target
      description: Target browser window when item is clicked.
      placeholder: 'Select...'
      default: _parent
      options:
          _parent: Self
          _blank: New Window

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

    css.left:
      type: input.selectize
      label: Left CSS Classes
      description: CSS class name for the left element.
      default:

    css.right:
      type: input.selectize
      label: Right CSS Classes
      description: CSS class name for the right element.
      default:

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

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

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