Skip to content

Commit 5ef75e0

Browse files
authored
docs: Document the language property by referring to the IETF standard (#630)
1 parent ea23ec4 commit 5ef75e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,6 +1764,7 @@ string_property_methods! {
17641764
/// modifiers(s), that will perform this node's default action.
17651765
/// The value of this property should be in a human-friendly format.
17661766
(KeyboardShortcut, keyboard_shortcut, set_keyboard_shortcut, clear_keyboard_shortcut),
1767+
/// An [IETF language tag](https://www.rfc-editor.org/info/bcp47).
17671768
/// Only present when different from parent.
17681769
(Language, language, set_language, clear_language),
17691770
/// If a text input has placeholder text, it should be exposed

0 commit comments

Comments
 (0)