defaultExpanded
For container fields, controls whether the field is displayed expanded or collapsed.
Parameters
- self:FieldOptions
- FieldOptions
Source
Implementation
pub fn defaultExpanded(self: FieldOptions) bool {
return switch (self) {
inline else => |fo| fo.default_expanded orelse defaults.display_expanded,
};
}