slackline/block/section

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Attributes for block.section.

Values

pub fn accessory(
  accessory: block.Element,
) -> block.Attr(block.SectionBlock)

A section-compatible element.

pub fn block_id(
  block_id: String,
) -> block.Attr(block.SectionBlock)

Sets block_id.

pub fn expand(expand: Bool) -> block.Attr(block.SectionBlock)

Always show the full text, without “see more”.

pub fn fields(
  fields: List(block.Text),
) -> block.Attr(block.SectionBlock)

Up to 10 text objects in two columns. Maximum 2000 characters each.

✨ Search Document