Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 21 15:42
    djx314 edited #31
  • Jan 21 15:42
    djx314 opened #31
  • Nov 22 2021 16:25
    ddworak commented #30
  • Nov 22 2021 16:20
    pathikrit closed #30
  • Nov 22 2021 16:20
    pathikrit commented #30
  • Nov 22 2021 08:30
    ddworak commented #30
  • Nov 22 2021 02:56
    pathikrit opened #30
  • Oct 25 2021 14:12

    ddworak on master

    Towards 3.3.0 (compare)

  • Oct 25 2021 14:12

    ddworak on v3.2.0

    (compare)

  • Oct 25 2021 14:11

    ddworak on master

    3.2.0 (compare)

  • Oct 25 2021 13:30

    ddworak on master

    Update scalajs-dom, scalatags 3.1.0 (compare)

  • Aug 27 2021 10:59

    ddworak on v3.1.1

    (compare)

  • Aug 27 2021 10:58

    ddworak on master

    Add minified resource hint (compare)

  • Aug 27 2021 05:03

    ddworak on v3.1.0

    (compare)

  • Aug 27 2021 05:02

    ddworak on upgrades

    (compare)

  • Aug 27 2021 05:02

    ddworak on master

    Dependency upgrades Initial setup for GitHub Actions Deployment configuration cleanup and 3 more (compare)

  • Aug 27 2021 05:02
    ddworak closed #29
  • Aug 27 2021 05:00
    ddworak synchronize #29
  • Aug 27 2021 05:00

    ddworak on upgrades

    scalac flag cleanup (compare)

  • Aug 26 2021 14:09
    ddworak assigned #29
sidnt
@sidnt
Trying to bind a function to a button on click as thus: jQ("#submitButton").on("click", validateForm()) but it doesn't compile.
Mateusz Starzec
@Starzu
@sidnt Could you paste the compilation error or reproduce your problem on https://scalafiddle.io/? It seems that you are calling validateForm() where you should pass lambda (Element, JQueryEvent) => Any. Try something like that: jQ("#submitButton").on("click", (_, _) => validateForm())