mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:14:58 +00:00
LibWeb: Add input element valueAsNumber
This commit is contained in:
parent
d290569535
commit
d5ca8209bf
3 changed files with 38 additions and 2 deletions
|
@ -94,6 +94,9 @@ public:
|
|||
// https://html.spec.whatwg.org/multipage/input.html#update-the-file-selection
|
||||
void update_the_file_selection(JS::NonnullGCPtr<FileAPI::FileList>);
|
||||
|
||||
WebIDL::ExceptionOr<double> value_as_number() const;
|
||||
WebIDL::ExceptionOr<void> set_value_as_number(double value);
|
||||
|
||||
WebIDL::ExceptionOr<bool> check_validity();
|
||||
WebIDL::ExceptionOr<bool> report_validity();
|
||||
void set_custom_validity(String const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue