Posts by lucasferreiralimax • 165 points
10 posts
-
1
votes3
answers419
viewsA: Browser only emits audio after I click on it
Place the attribute autoplay and Controls window.onload = autoAudio; function autoAudio() { alert("five, four, three, two, one, zero...") document.querySelector("#playAudio").play() } #playAudio {…
-
1
votes1
answer444
viewsA: Add and Remove class of an element with scroll - Angular
Use @Hostlistener to listen to the scroll event. You can use Viewchild to pick up the component reference and Elementref to pick up the template reference that will change as well. I did this…
-
1
votes2
answers143
viewsA: Run function after object created by click
I think your mistake is in isolating both functions. You need to study about closure, understand function Scope. I found this article on closure here at stackoverflow How Closures work in…
-
0
votes2
answers143
viewsA: Run function after object created by click
Is that something you want to do? Use another function at the end of the run with the values being passed by the first? let itens = [ { id: 2000017893, quantity: 1, seller: '1' }, { id: 43546363,…
-
1
votes4
answers355
viewsA: Edge at intersection between 2 elements - CSS
CSS solution The solution of this problem can be done only with CSS, using two pseudo-elements ::after and ::before in class .to Code analysis to follow :) .a::after, .a::before { content: "";…
css3answered lucasferreiralimax 165 -
0
votes1
answer549
viewsA: How I Store the Contents of a JSON File in a Variable
I used the jqxhr Object example from the following link http://api.jquery.com/jquery.getjson/ About the mistake, I think you missed declare the variable formerly. //agenda = [];…
-
2
votes1
answer56
viewsQ: Text selection via keyboard
Have you stopped to imagine how to select a text from a specific part of your navigation? For example to select inside a box input we use directional arrows like this: shit +, shit +, shit + and…
-
0
votes1
answer61
viewsA: Problem to diagram Divs
Failed to name id="Conner" From what I’ve analyzed, you’ve already made the flotation you need. I just forgot to name the id="Conner" Tips A piece of advice for you to work better and be able to…
-
2
votes3
answers132
viewsA: Ul list with independent dynamic width of items
Flexbox Using the css flexbox property you can better manipulate the fluidity issue you want between items. Analyze the class difference. content-wrap where I add a new parameter to the flex-flow…
cssanswered lucasferreiralimax 165 -
2
votes1
answer653
viewsA: What are the advantages and disadvantages of using css preprocessors?
Face in my opinion pre-processors are great, do what promises. Where its positive points are passed through all that ease and flexibility proposed to our friend CSS, which is a language that is…