Last active
April 16, 2024 17:25
-
-
Save lukaszkrzywizna/907b2317bbf3682906ee7e4a6442ed6c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[<Interface>] | |
type HTMLAttributes<'element when 'element :> Element and 'element :> EventTarget> = | |
inherit AriaAttributes | |
inherit DOMAttributes<'element> | |
abstract member defaultChecked: bool option with get, set | |
[<Interface>] | |
type HTMLAttributesFactory<'Property, 'element when | |
'Property :> HTMLAttributes<'element> and | |
'element :> Element and | |
'element :> EventTarget> = | |
inherit AriaAttributesFactory<'Property> | |
inherit DOMAttributesFactory<'Property, 'element> | |
static member inline defaultChecked (value: bool) = | |
Interop.mkProperty<'Property> | |
(nameof(Unchecked.defaultof<HTMLAttributes<'element>>.defaultChecked)) | |
value | |
type InputHTMLAttributes<'element when 'element :> Element and 'element :> EventTarget> = | |
inherit HTMLAttributes<'element> | |
abstract member disabled: bool option with get, set | |
[<Interface>] | |
type InputHTMLAttributesFactory<'Property, 'element when | |
'Property :> InputHTMLAttributes<'element> and | |
'element :> Element and | |
'element :> EventTarget> = | |
inherit HTMLAttributesFactory<'Property, 'element> | |
static member inline disabled (value: bool) = | |
Interop.mkProperty<'Property> | |
(nameof(Unchecked.defaultof<InputHTMLAttributes<'element>>.disabled)) | |
value | |
[<Interface>] | |
type input = inherit InputHTMLAttributesFactory<InputHTMLAttributes> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment