https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • h

    handsome-television-62908

    11/18/2019, 11:08 AM
    I tried those, but they don't seem to exist for button - which is weird! But also, I can't seem to find the
    registerEvent
    for components
  • h

    handsome-television-62908

    11/18/2019, 11:08 AM
    in the documentation that is*
  • b

    bright-gpu-74537

    11/18/2019, 11:08 AM
    @:event(UIEvent.CHANGE)             public var onChange:UIEvent->Void;
  • b

    bright-gpu-74537

    11/18/2019, 11:09 AM
    what docs are you looking at?
  • b

    bright-gpu-74537

    11/18/2019, 11:09 AM
    http://haxeui.org/api/haxe/ui/components/Button.html
  • b

    bright-gpu-74537

    11/18/2019, 11:10 AM
    there are no mouseup / down / over shortcut events
  • h

    handsome-television-62908

    11/18/2019, 11:10 AM
    I have interactiveComponent and Component checked
  • b

    bright-gpu-74537

    11/18/2019, 11:10 AM
    oh... thats wierd
  • b

    bright-gpu-74537

    11/18/2019, 11:11 AM
    probably my doc gen is broken
  • h

    handsome-television-62908

    11/18/2019, 11:11 AM
    you know, I have been browsing the docs a lot and I've found a lot of things missing that I later find out going through source or examples
  • b

    bright-gpu-74537

    11/18/2019, 11:12 AM
    well, they are also out of date... 😄
  • b

    bright-gpu-74537

    11/18/2019, 11:12 AM
    but the registerEvent should defo be there
  • h

    handsome-television-62908

    11/18/2019, 11:12 AM
    theres a lot of abstraction in the source where this can be a little hard to find quickly though - but it's good to know now that there's some fixes that can help
  • h

    handsome-television-62908

    11/18/2019, 11:12 AM
    the documentation that is
  • b

    bright-gpu-74537

    11/18/2019, 11:13 AM
    ill have a look at the docgen when i get a moment...
  • b

    bright-gpu-74537

    11/18/2019, 11:13 AM
    but seriously... ... ... ... who reads docs anyway?!?!?
  • b

    bright-gpu-74537

    11/18/2019, 11:13 AM
    😄
  • b

    bright-gpu-74537

    11/18/2019, 11:13 AM
    (apparently everyone but me!)
  • h

    handsome-television-62908

    11/18/2019, 11:14 AM
    Hahahaha, fortunately there's a living documentation in the chat for now xDD
  • b

    bright-gpu-74537

    11/18/2019, 11:14 AM
    true... ill get the docs updated though... the registerEvent is weird though as that function has been there forever... makes me wonder what else is missing
  • h

    handsome-television-62908

    11/18/2019, 11:15 AM
    I can start trying to document things - I know for sure I've asked about something earlier that was not in the docs directly
  • h

    handsome-television-62908

    11/18/2019, 11:15 AM
    a lot of things might actually be missing from the base component documentation
  • h

    handsome-television-62908

    11/18/2019, 11:15 AM
    or a few things; this for sure
  • b

    bright-gpu-74537

    11/18/2019, 11:15 AM
    right
  • b

    bright-gpu-74537

    11/18/2019, 11:16 AM
    well, hopefully the registerEvent issue will lead me down an issue
  • h

    handsome-television-62908

    11/18/2019, 11:16 AM
    hope it's not too hard to track
  • b

    bright-gpu-74537

    11/18/2019, 11:17 AM
    who knows
  • b

    bright-gpu-74537

    11/18/2019, 11:17 AM
    probably not
  • h

    handsome-television-62908

    11/18/2019, 12:36 PM
    I'm a bit confused about events . . . ListView has an event called "onComponentEvent", but if you search through the repo for that specific symbol not a single result comes up besides the definition. Am I missing something?
  • b

    bright-gpu-74537

    11/18/2019, 12:56 PM
    onComponentEvent is a shortcut for
    ItemEvent.COMPONENT_EVENT
1...143144145...1687Latest