Truly independent web browser
/*
* Copyright (c) 2023, Shannon Booth <[email protected]>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/FlyString.h>
#include <LibWeb/DOM/LiveNodeList.h>
namespace Web::HTML {
// https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#radionodelist
class RadioNodeList : public DOM::LiveNodeList {
WEB_WRAPPABLE(RadioNodeList, DOM::LiveNodeList);
GC_DECLARE_ALLOCATOR(RadioNodeList);
public:
[[nodiscard]] static GC::Ref<RadioNodeList> create(DOM::Node const& root, Scope scope, Filter filter, Kind = Kind::Generic);
virtual ~RadioNodeList() override;
Utf16String value() const;
void set_value(Utf16View);
private:
explicit RadioNodeList(DOM::Node const& root, Scope scope, Filter filter, Kind);
};
}