Skip to content

Commit

Permalink
doc: Document the set properties
Browse files Browse the repository at this point in the history
  • Loading branch information
DataTriny authored and mwcampbell committed Feb 26, 2025
1 parent 6c622cf commit 6450470
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,12 @@ usize_property_methods! {
(RowSpan, row_span, set_row_span, clear_row_span),
(ColumnSpan, column_span, set_column_span, clear_column_span),
(Level, level, set_level, clear_level),
/// For containers like [`Role::ListBox`], specifies the total number of items.
(SizeOfSet, size_of_set, set_size_of_set, clear_size_of_set),
/// For items like [`Role::ListBoxOption`], specifies their index in the item list.
/// This may not exceed the value of [`size_of_set`] as set on the container.
///
/// [`size_of_set`]: Node::size_of_set
(PositionInSet, position_in_set, set_position_in_set, clear_position_in_set)
}

Expand Down

0 comments on commit 6450470

Please sign in to comment.