jcouyang / owlet Goto Github PK
View Code? Open in Web Editor NEWTyped Spreadsheet UI library for ScalaJS
Home Page: https://oyanglul.us/owlet/
Typed Spreadsheet UI library for ScalaJS
Home Page: https://oyanglul.us/owlet/
I've noticed that an Owlet graphical component is only rendered in one location at a time. See here for example: https://scalafiddle.io/sf/QqYTclD/1
Is that the intended semantics?
I'm asking because this actually somewhat relates to our discussion in the other #5 issue. In particular, it would be very nice if two copies of the same component could be rendered and the user be guaranteed that they will "stay in sync."
In other words, let's say that there is a number val myNumber = int("mynum",1)
the value of which is utilized by various other components in various other parts of the display. The way Owlet seems to currently work right now, the gui component that allows the user to change the myNumber value is only rendered one place. However, in my opinion, a preferred semantics would be to allow it to be rendered in multiple places but guarantee that the two renderings will always stay in sync.
I hope what I'm talking about is making sense?
Hi, I'd like to be able to release my owlet-using project to maven central (if only to be able to use the webjars CDN). Are you willing to make a release to maven central? Or I can make my own fork and release there?
Perhaps before I try to come up with a canonical example for a #5 I should try to better understand how you have envisioned the hyperlink def a[A]: Owlet[A] = ...
function working? I understand that it behaves similarly to button[A]
but takes as input a child : Owlet[_]
and could not find a good example for how to use it? Would you mind providing an example? I think that may inform us for whether/if there is a way to tackle #5 Thanks!
Being able to label components is really nice! However I noticed that the labeling stopped working. It could be because the actual string argument for the label is not actually used? See: https://github.com/jcouyang/owlet/blob/master/src/main/scala/owlet/DOM.scala#L264
In a similar way that graphical checkbox can be thought of a simple presentation of an Owlet[Boolean], I've been wondering if we might be able to make a generic Owlet[Either[A,B]] perhaps called "choice" or "fork" or something? It would be a default presentation of the user essentially choosing an execution path I think?
Or, perhaps a slightly more concrete example might be a classical spreadsheet where each cell is Either[RawValue,Formula] ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.