parent
80f500874b
commit
f1cd9e606d
1 changed files with 3 additions and 0 deletions
|
|
@ -815,5 +815,8 @@ proc toChecked*(checked: bool): cstring =
|
|||
proc toDisabled*(disabled: bool): cstring =
|
||||
(if disabled: cstring"disabled" else: cstring(nil))
|
||||
|
||||
proc toSelected*(selected: bool): cstring =
|
||||
(if selected: cstring"selected" else: cstring(nil))
|
||||
|
||||
proc vnodeToDom*(n: VNode; kxi: KaraxInstance = nil): Node =
|
||||
result = toDom(n, useAttachedNode = false, kxi)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue