6 votes
1 answer
274 views
Binding.scala - how to get updating count from VarsI have a Vars binding statement, like so val data: Vars[Contact] = Vars.empty[Contact] I'm trying to show the number of elements like so: <div>{data.all.bind.size}</div> But this ...
asked Sep 28, 2020 at 13:361 vote
0 answers
77 views
Binding.scala - SBT Out Of Memory issuesI have a large @html function (125 lines) and after that sbt fails with OutOfMemory. I increased sbt's memory to 8g and same thing so it's not just it needed a little more memory. Is this a known ...
asked Aug 16, 2020 at 8:501 vote
0 answers
76 views
Reactive components in binding.scala + scalatagsI want to do similar to scalajs-bootstrap for my own css. But as per my knowledge it doesn't perform partial dom update like Binding.scala does. I know we can use Binding.scala and scalatags together ...
asked Nov 15, 2019 at 10:361 vote
0 answers
48 views
Binding.scala: Vars.bind seems to not work correctlyCalling .bind on a Vars in a watched Binding definition leads to strange behavior. The new binding is updated only once at init time but not after updating the Vars content. For example, if I do this:...
asked Oct 2, 2019 at 17:094 votes
1 answer
140 views
How to perform unit test for Binding.Scala?I had written components using Binding.scala and they're working fine for me. Now I want to unit test them using ScalaTest. How to unit test them? I had taken reference from Binding.scala's unit ...
asked Sep 25, 2019 at 10:393 votes
2 answers
149 views
How to set tabindex attributeWhen using Binding.scala, I can not write html that uses the tabindex attribute. Is this a bug in Binding.scala / scala.js? <div> <input tabindex="1"></input> <input ...
asked May 14, 2019 at 13:582 votes
1 answer
165 views
Binding.scala: bind does not work in a simple example used in Github PagesI want to use Binding.scala in my Github Pages. The Problem I have is that the value that I bind is not updated. Here the example: val radiusVar = Var(3.0) @dom private lazy val plotly: ...
asked Apr 25, 2019 at 8:492 votes
3 answers
352 views
Type mismatch with Binding.scala involving scala.xml.ElemI'm failing to compile a simple example of Binding.scala, and being a newbie, I have no intuition how to fix it. Maybe the README is slightly outdated? The example at https://github.com/...
asked Mar 12, 2019 at 11:381 vote
1 answer
144 views
Integrating React Component in a Binding.scala applicationI would like to integrate react-table which is a React Component (can be seen in action here) in a Binding.scala application. I am however fairly new to both React and Binding.scala, and as such was ...
asked Feb 18, 2019 at 16:472 votes
2 answers
228 views
How to fix the red mark that appears when using binding.scala in intellij?I am developing with scalajs and binding.scala. I'm using the IDE as an Intellij. However, when using dom macro in Intellij, the following red mark appears. this error appears when I use the attribute ...
asked Jan 1, 2019 at 15:058 votes
2 answers
10k views
leaflet map does not appear correctly until resizeI am using Leaflet with scalajs-leaflet facade on Binding.scala, and the map initializes/appears incorrectly. In order to reproduce the issue, i have prepared a lihaoyi/workbench page similar to ...
asked Dec 21, 2018 at 5:451 vote
1 answer
377 views
Binding.scala: how to define checked in a CheckboxI want to define a checkbox in Binding.scala, like: <input type="checkbox" checked={elem.checked} /> elem.checked can have any String value (even an empty):the ...
asked Dec 14, 2018 at 18:30-1 votes
1 answer
137 views
binding.scala component to string conversionI have a binding.scala component and a third party scalajs library that takes html string as input. How can the b.s component can be passed to the library method as an argument? Specifics: import ...
asked Nov 2, 2018 at 13:040 votes
1 answer
128 views
Binding.scala: Get current value of a BindingIt seems it is not possible to get the current value of a Binding like we can do for a Var(using method value). I looked at the source and this method is declared as being private for Binding class, ...
asked Oct 15, 2018 at 16:122 votes
2 answers
175 views
Binding.scala route redirecting to login pageI would like add "guards" to certain urls. These urls should only be accessed when the user is logged in. If not logged in i want to redirect the user to the login page. After a successful login i ...
asked Jun 25, 2018 at 14:44RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4