mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Add the accessible-placeholder-text
property (#5464)
This commit is contained in:
parent
bd18d8dc0a
commit
ce2db77e88
19 changed files with 48 additions and 11 deletions
|
@ -23,6 +23,7 @@ export component TextEdit {
|
|||
callback edited(/* text */ string);
|
||||
accessible-role: AccessibleRole.text-input;
|
||||
accessible-value <=> text;
|
||||
accessible-placeholder-text: text == "" ? placeholder-text : "";
|
||||
|
||||
public function set-selection-offsets(start: int,end: int){
|
||||
base.set-selection-offsets(start, end);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue