Hi,
i can use datasets feauture in Nim.
Its not implemented in std/dom.
Can I import it via importc?
thanks
P.
I (experimentaly) add dataset to std/dom
Element* = ref ElementObj
  ElementObj {.importc.} = object of NodeObj
    className*: cstring
    classList*: ClassList
    checked*: bool
    dataset*: seq[string] # must be DOMStringMap
    defaultChecked*: bool
    defaultValue*: cstring
    disabled*: bool
    form*: FormElement
    name*: cstring
    readOnly*: bool
    options*: seq[OptionElement]
    selectedOptions*: seq[OptionElement]
    clientWidth*, clientHeight*: int
    contentEditable*: cstring
    isContentEditable*: bool
    dir*: cstring
    offsetHeight*: int
    offsetWidth*: int
    offsetLeft*: int
    offsetTop*: int
I dont know how implement type of data. std/Strtable?