Posts by Jonatas Amaral • 145 points
4 posts
-
0
votes0
answers30
viewsQ: How to correctly type component props (React) to receive (a and b) or (c and d)
An opinion/tip on the typing of props: Context: An app/site with a list of podcasts in the home, dynamic page for each podcast individually, and in both, play buttons, that plays the relevant…
-
4
votes1
answer960
viewsQ: What would be the best way to make a "vertical text" in HTML/CSS?
I would like to know from you how best to do these types of text alignment as in the example (vertical alignment, with letters up, "vertically straight". And vertically aligned with the edge of a…
-
1
votes0
answers246
viewsQ: $(window). height() returns value equal to $(Document). height()
I have a very annoying little problem. I’m trying to get the "scrollBottom" from the page, using: $(document).height() - ( $(this).scrollTop() + $(window).height() ) I then made a "tabelinha" to…
-
9
votes2
answers589
viewsQ: Is it possible to name a parameter at the time of the function call?
Can I "access" a specific parameter of a Javasscript function, that is, give a value for a given parameter? As an example is better than text (since I don’t know how to explain myself properly),…