mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:32:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			815 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			815 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2023, Shannon Booth <shannon@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <LibWeb/DOM/LiveNodeList.h>
 | |
| 
 | |
| namespace Web::DOM {
 | |
| 
 | |
| // https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#radionodelist
 | |
| class RadioNodeList : public LiveNodeList {
 | |
|     WEB_PLATFORM_OBJECT(RadioNodeList, LiveNodeList);
 | |
| 
 | |
| public:
 | |
|     [[nodiscard]] static JS::NonnullGCPtr<RadioNodeList> create(JS::Realm& realm, Node& root, Scope scope, Function<bool(Node const&)> filter);
 | |
| 
 | |
|     virtual ~RadioNodeList() override;
 | |
| 
 | |
|     FlyString value() const;
 | |
|     void set_value(FlyString const&);
 | |
| 
 | |
| protected:
 | |
|     virtual void initialize(JS::Realm&) override;
 | |
| 
 | |
| private:
 | |
|     explicit RadioNodeList(JS::Realm& realm, Node& root, Scope scope, Function<bool(Node const&)> filter);
 | |
| };
 | |
| 
 | |
| }
 | 
