ElementorexCms.Blocks.FilterChoice (ElementorexCms v0.2.0)

Copy Markdown View Source

Choice filter of a Filters form: the values of a field as a dropdown, radio buttons, checkboxes (several at once) or buttons. The options are the values the records have (ElementorexCms.Source.values/3, optionally with how many records have each) or a list written in the editor.

Summary

Functions

Palette and editor metadata of the block.

Props of the block, in declaration order.

Callback implementation for ElementorexCms.Block.render/1.

Type stored in documents for this block.

Functions

default_children()

Callback implementation for ElementorexCms.Block.default_children/0.

meta()

Palette and editor metadata of the block.

props()

Props of the block, in declaration order.

render(assigns)

Callback implementation for ElementorexCms.Block.render/1.

type()

Type stored in documents for this block.