pub struct ActionGroupProps {
pub items: Vec<ActionItem>,
pub menu_id: String,
pub max_inline: Option<u8>,
pub overflow_label: Option<String>,
pub row_key: Option<String>,
}Expand description
Props for ActionGroup — ordered action list rendering inline buttons (up to
max_inline) plus a trailing overflow kebab for the remainder. Destructive
items are always in the kebab, rendered last, regardless of input order.
Input order determines button priority: the first item in items is the
primary action and renders first inline. Use variant on an item to control
button styling.
The overflow kebab is hidden entirely when nothing overflows (≤ max_inline
non-destructive items and zero destructive items).
Fields§
§items: Vec<ActionItem>ID pairing the overflow popover to its trigger button. Required; callers must supply a unique value per page to prevent DOM id collisions.
max_inline: Option<u8>Maximum non-destructive items rendered inline (default 2).
overflow_label: Option<String>Aria-label for the overflow trigger button (default “Azioni”).
row_key: Option<String>Key used for {row_key} substitution in action URLs (DataTable / Kanban context).
Trait Implementations§
Source§impl Clone for ActionGroupProps
impl Clone for ActionGroupProps
Source§fn clone(&self) -> ActionGroupProps
fn clone(&self) -> ActionGroupProps
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ActionGroupProps
impl Debug for ActionGroupProps
Source§impl<'de> Deserialize<'de> for ActionGroupProps
impl<'de> Deserialize<'de> for ActionGroupProps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for ActionGroupProps
impl JsonSchema for ActionGroupProps
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ActionGroupProps
impl PartialEq for ActionGroupProps
Source§fn eq(&self, other: &ActionGroupProps) -> bool
fn eq(&self, other: &ActionGroupProps) -> bool
self and other values to be equal, and is used by ==.