Questions tagged as 'javascript'

0
answers

Load a component dynamically in Angular?

Problem: I need to dynamically load a component in a modal but the modal at the same time accepts html, which if I put the ViewContainerRef I think I would only accept components and not only html Preview: I have tried several example codes a...
asked by 02.04.2018 / 22:47
2
answers

initMap is not a function Google Map Api

Trying to show the Google Map through the API using JS, I get the answer: "initMap is not a function", I tried removing defer and async of script but I always get the same answer. This is the code I am using (which works...
asked by 17.04.2018 / 16:40
1
answer

Authorize SPA client using client credential grant token and personal access token - Laravel Passport

First I will put them in context. I am developing a Rest API using laravel and as authorization method oauth2 using Laravel Passport implementation. On the other hand I am developing a Javascript client (Single Page Application or SPA) tha...
asked by 07.05.2018 / 23:07
1
answer

Google maps directions API

My problem is that I'm using the google maps directions API and use axios to make the request, but when I execute the code it tells me that I'm not passing the origin parameter but if I'm passing it on, I'll try to pass it on the parameter from...
asked by 17.03.2018 / 06:54
3
answers

How can I correctly align a card in bootstrap?

Hello, my question is to know how to solve this problem in bootstrap, I want to make three columns in a horizontal way, because when I do it, it is vertical I would appreciate your prompt response. <!DOCTYPE html> <html lang="e...
asked by 15.03.2018 / 18:02
0
answers

put into production symfony mercadopago

Problem when integrating the Mercadopago payment platform with the symfony SDK. In TEST Mode it works perfectly with the credentials of TEST but in production I can not get the error and solve it. How can I get the specific error that the API re...
asked by 15.03.2018 / 23:28
0
answers

Why are not images uploaded to Phaser?

I am starting to use phaser to create games and I found a problem that I can not find for more tests that I did. I can not show the images I'm uploading. You only see a small square in the center, (I show it in this capture: when you should see...
asked by 17.12.2018 / 16:49
1
answer

Http Post sends the data in disarray

I have a function that sends data that is in a vector with an http post, so what I do is go through the vector with a for cycle and I send the data to the database, the problem I have is that the data is arriving in disorder to the database, tha...
asked by 17.12.2018 / 22:34
1
answer

Ninjas: Given some coordinates, take css transform (skew, rotate) to paint an image

the API returns some random coordinates that will be the container of the image, and these coordinates will always be a rectangle but it may not have angles of 90 degrees so I have to deform the image to adapt it to this container. I think th...
asked by 22.03.2018 / 12:10
1
answer

Assign current date and time to DOM element

I'm trying to perform a horizontal slider in which, I have a 'p' tag to which I want to assign the current time and date, but if I do it in the jquery ready, which is when our page is already loaded or document, only the date of that moment woul...
asked by 21.03.2018 / 17:20