https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • l

    lively-beach-14291

    11/18/2020, 1:06 PM
    You know you've arrived when the internez brings bike shedding topics to your discussion forum.
  • l

    lively-beach-14291

    11/18/2020, 1:21 PM
    @User Thank you for the reference to that blog article, I didn't know about Github's web components. It seems that web component approach should be quite compatible with htmx, no?
  • m

    mysterious-toddler-20573

    11/18/2020, 2:05 PM
    lol i love senior java developers
  • m

    mysterious-toddler-20573

    11/18/2020, 2:05 PM
    after all, I'm one 🙂
  • l

    lively-beach-14291

    11/18/2020, 2:11 PM
    I keep getting delayed in my application of HTMX; but it'll happen. I'm now working on server-side Hypertext Literal construction library so that building pages isn't so burdensome. It's amazing how when you do X, you find you need Y, which means you have to do Z. Eventually you wonder why you never get to doing X.
  • l

    lively-beach-14291

    11/18/2020, 2:12 PM
    Ah, yea, you have to do X to earn a living. My wife doesn't care about Y or Z, or even X for that matter. The best part when you're a developer is when you end up earning a living, accidentally mind you, by doing Z. That's rare though.
  • m

    mysterious-toddler-20573

    11/18/2020, 2:23 PM
    my wife was pretty sick of htmx after four weeks
  • m

    mysterious-toddler-20573

    11/18/2020, 2:23 PM
    🙂
  • s

    salmon-xylophone-28580

    11/21/2020, 5:44 PM
    I like the Amazon responsive menu a lot. 1, You can go back to a higher level 2.You can go down to a deeper level 3, You can scroll it, if there are many entries 4. You can close it again. How would you implement this in htmx. Or is a menu like this already available?
  • g

    gorgeous-ghost-95789

    11/21/2020, 5:59 PM
    Hey there @guetti
  • g

    gorgeous-ghost-95789

    11/21/2020, 6:00 PM
    HTMX itself is a little lower level that this menu. It would probably be possible to build (or adapt) an existing JS/CSS widget to use HTMX to load/swap the menu contents, though.
  • g

    gorgeous-ghost-95789

    11/21/2020, 6:01 PM
    I made a couple demos for doing modal dialogs in HTMX (using Bootstrap and UIKit). This should be pretty similar. Gimme a second, and I’ll dig up the URLs.
  • g

    gorgeous-ghost-95789

    11/21/2020, 6:03 PM
    It looks like they’re already live on the website. Just go to https://htmx.org/examples/ and scroll down to the bottom, and you’ll see Dialogs (UIKit), and Dialogs (Bootstrap)
  • g

    gorgeous-ghost-95789

    11/21/2020, 6:03 PM
    Have you seen an existing CSS/JS widget that behaves the way you want it to?
  • m

    mysterious-toddler-20573

    11/21/2020, 7:37 PM
    I think I need to build a slide transition extension for htmx
  • g

    gorgeous-ghost-95789

    11/21/2020, 7:45 PM
    I saw an interesting proposal from Google a while back, called “Portals”.
  • g

    gorgeous-ghost-95789

    11/21/2020, 7:46 PM
    I think this is it. https://wicg.github.io/portals/
  • g

    gorgeous-ghost-95789

    11/21/2020, 7:47 PM
    It was similar in spirit, I think, to HTMX in that it was trying to manage changes between HTML pages without getting something huge like React involved.
  • g

    gorgeous-ghost-95789

    11/21/2020, 7:48 PM
    @mysterious-toddler-20573 - Depending on what you mean by “a slide transition” extension, I think that could be amazingly powerful.
  • g

    gorgeous-ghost-95789

    11/21/2020, 7:48 PM
    I’ll try to dig up the portals presentation, in case that helps.
  • g

    gorgeous-ghost-95789

    11/21/2020, 7:51 PM
    https://techcrunch.com/2019/05/07/google-rethinks-navigation-with-launch-of-portals-on-chrome-canary/
  • m

    mysterious-toddler-20573

    11/21/2020, 8:11 PM
    I mean an extension that enables something like:
    Copy code
    html
      <div ... hx-swap="slide-right" ...>...</div>
  • g

    gorgeous-ghost-95789

    11/21/2020, 8:24 PM
    Stop. I can only get so excited.
  • m

    mysterious-toddler-20573

    11/22/2020, 8:30 PM
    I'm beginning to think I have made a mistake
  • m

    mysterious-toddler-20573

    11/22/2020, 8:30 PM
    I have been storing lots of event information on the
    detail
    property
  • m

    mysterious-toddler-20573

    11/22/2020, 8:31 PM
    I picked this up, I believe, from jquery
  • m

    mysterious-toddler-20573

    11/22/2020, 8:31 PM
    but it turns out that this is not a standard way to deal with things
  • m

    mysterious-toddler-20573

    11/22/2020, 8:31 PM
    and, unfortunately, I baked it into hyperscript
  • m

    mysterious-toddler-20573

    11/22/2020, 8:31 PM
    and use it extensively in htmx events
  • m

    mysterious-toddler-20573

    11/22/2020, 8:31 PM
    I think I need to undo this
1...727374...1146Latest