Lowdefy
v3.23.3/display/Title/

Title

A title component. Corresponds to html h1, h2, h3 and h4 elements.

A title block.

id: block_id
type: Title
properties:
  content: A title block.

properties:
Apply code style.
-------
Title color.
Title text content - supports html.
Select copyable type
Provide copy text button.
Apply deleted (strikethrough) style.
Apply disabled style.
Select ellipsis type
Display ellipsis when text overflows a single line.
Set title type. Matches with h1, h2, h3 and h4.
Apply marked (highlighted) style.
Additional types. Don't specify for default.
Apply underline style.
type: object
properties:
  events:
    additionalProperties: false
    properties:
      onCopy:
        description: Trigger action when copy text is clicked.
        type: array
      onExpand:
        description: Trigger action when ellipse expand is clicked.
        type: array
    type: object
  properties:
    additionalProperties: false
    properties:
      code:
        default: false
        description: Apply code style.
        type: boolean
      color:
        description: Title color.
        type: string
      content:
        description: Title text content - supports html.
        type: string
      copyable:
        default: false
        oneOf:
          - description: Provide copy text button.
            type: boolean
          - additionalProperties: false
            properties:
              icon:
                description: >-
                  Copy icon, can be an array or two icons for before and after
                  clicked.
                type:
                  - string
                  - object
                  - array
              text:
                description: Paragraph text to copy when clicked.
                type: string
              tooltips:
                description: >-
                  Tooltip text, can be an array or two strings for before and
                  after clicked.
                type:
                  - string
                  - array
            type: object
      delete:
        default: false
        description: Apply deleted (strikethrough) style.
        type: boolean
      disabled:
        default: false
        description: Apply disabled style.
        type: boolean
      ellipsis:
        default: false
        oneOf:
          - description: Display ellipsis when text overflows a single line.
            type: boolean
          - additionalProperties: false
            properties:
              expandable:
                description: Expand hidden content when clicked.
                type: boolean
              rows:
                description: Max rows of content.
                type: number
              suffix:
                description: Suffix of ellipses content.
                type: string
            type: object
      level:
        default: 1
        description: Set title type. Matches with h1, h2, h3 and h4.
        enum:
          - 1
          - 2
          - 3
          - 4
        type: number
      mark:
        default: false
        description: Apply marked (highlighted) style.
        type: boolean
      type:
        default: default
        description: Additional types. Don't specify for default.
        enum:
          - secondary
          - warning
          - danger
        type: string
      underline:
        default: false
        description: Apply underline style.
        type: boolean
    type: object