Nui
Loading...
Searching...
No Matches
file_list.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <optional>
7
8namespace Nui::WebApi
9{
13 class FileList : public ValWrapper
14 {
15 public:
16 explicit FileList(Nui::val fileList);
17
18 int length() const;
19
20 std::optional<File> item(int index) const;
21 };
22}
Common base class for classes that are just wrapping around val into js world.
Definition val_wrapper.hpp:11
Definition file_list.hpp:14
int length() const
Definition file_list.cpp:8
std::optional< File > item(int index) const
Definition file_list.cpp:12
Definition abort_controller.hpp:8
emscripten::val val
Definition val.hpp:5