Posts by Dan100 • 295 points
25 posts
-
-2
votes1
answer62
viewsQ: Is it possible to pass parameters from one application to another via Query String? Angular 2+
I have 2 applications Angulas, Application 1 and application 2. I need to pass via query string the token of application 1 to application 2. Does anyone have an example? I am lost and found nothing…
-
0
votes1
answer355
viewsQ: How to place a spinner on the button according to the service. Angular 2+
How do I put a spinner in a button and this spinner will disappear only when the data is sent.... In case the data is not sent or give some problem in the server the spinner is there loading. I am a…
-
0
votes1
answer38
viewsQ: How to pass this Jquery code in pure Javascript
$(".checkbox-menu").on("change", "input[type='checkbox']", function() { $(this).closest("li").toggleClass("active", this.checked); }); $(document).on('click', '.allow-focus', function (e) {…
javascriptasked Dan100 295 -
-1
votes1
answer39
viewsQ: How to use a direct Html tag on my object?
Example, I want to make a list with the HTML tag <ul> <li>primeiro item</li> <li>segundo item</li> <li>terceiro item</li> </ul> And my object is like…
-
-2
votes1
answer85
viewsQ: How to load a method as soon as the page is loaded ? Angularjs
I have a method, carregarpagina(); that needs to be loaded as soon as the page is loaded. How do I do this on Angularjs.
-
2
votes7
answers7167
viewsQ: How to receive the CPF number and format to be without the dots and dash(Input Mask )
I’m creating a mask with inputMask, but the number is received so: 222.222.488-19. And I want him to have the mask on input but when sending it will be without the dots and the dash. Like this…
-
0
votes1
answer480
viewsQ: Angular 2 image Base64 how to use?
I have a "ERR_INVALID_URL" error and does not load the image. Does anyone know how to solve ? My html and Ts are like this. //Aqui está vindo a url do servidor let a = value.params["dataBuffer"];…
-
2
votes1
answer669
viewsQ: How to break lines according to a value
How do I break lines according to the value ? For example a = 8. There I have a variable "d" q takes a string. var d = "written work considered in its original wording". If I put an If = a; it…
-
0
votes2
answers1947
viewsQ: How do I manipulate 3 Checkbox in Angular 2?
I have 3 Checkbox. The first option is bread, the second option is fish and the third has salt. I want to use Tamplate Forms and not reactive Forms. Can someone help me? <form #form="ngForm">…
-
0
votes1
answer356
viewsQ: How to handle DIV with angular 2
I have 2 Divs and would like to manipulate them with buttons. I have 2 Divs. When one appears the other is hidden, vice versa. Can someone help me ? My version of Angular is 5. Function1 Function2…
-
0
votes0
answers28
viewsQ: How to make a setTimout but only when there is no action on the screen?
I’m looking for an idea, as I do a Settimout only when the user leaves the page. Example, I’m with 2 screens. One is the Reset screen and another is the home. when user enters the system he goes…
-
0
votes2
answers1585
viewsA: The map property does not exist in type 'Observable <Response>'
Thanks Eduardo Vargas. It worked, the only thing I changed was the map and observable Imports. I did so ... import { Observable } from 'rxjs/Internal/Observable'; import { map } from…
-
0
votes2
answers1585
viewsQ: The map property does not exist in type 'Observable <Response>'
I am using version 6 of Angular and found an error when using Observable. It says q the map property does not exist in the Observable type. my code is like this. import { Observable } from…
-
0
votes1
answer661
viewsQ: Function to open the full screen (Fullscreen) at angular 2
I’m needing q my screen opens full ... When I give an ng Serves the application when running it comes with a fullscreen. Can someone give me a tip on how to do this ?
-
0
votes0
answers284
viewsQ: Bootstrap does not work on Angular V-6
I can’t get Bootstrap on my page: installed version 3 npm install --save bootstrap@3 in the angular.json put the path: "styles": ["../node_modules/bootstrap/dist/css/bootstrap.min.css"…
-
1
votes1
answer792
viewsQ: Error trying to initialize Angular project (To disable this Warning use "ng config -g cli.warnings.versionMismatch false")
I picked up a project I’m studying from a course. I installed the Node department with the command npm install and it all worked out. When initializing webPack with the command ng serve shows this…
-
0
votes0
answers107
views -
1
votes1
answer243
viewsQ: How to Create an Advertising Banner for My App ? Ionic and Angular Js
I want to create a company advertising banner in my app in the footer as I do someone has some material that can explain me how to make a banner for app. like the image below where it is marked in…
-
1
votes2
answers222
viewsQ: How to add a search bar to my home header (Ionic + Angularjs)
I intend to create a Serach Bar in my home I’m struggling someone can help me ? I will leave here my Controller and my Views a Home .…
-
2
votes1
answer119
viewsQ: Ionic and Angularjs: How to filter repeated names in ngRepeat
How to filter, with Ionic and Angularjs, repeated names in my ng-repeat? I’ve used the ui.filters and the unique only works when there are no routes, ie on Websites in mobile applications does not…
-
0
votes2
answers149
viewsA: How to pass an Angular Js and Ionic dependency
Diogoaugusto even with that worked someone told me that this library of conflict with and injection of $stateProvider . I see no outputs now someone knows some way to filter data not to repeat name…
-
1
votes2
answers149
viewsQ: How to pass an Angular Js and Ionic dependency
I’m trying to pass a dependency on my module to use a Unique filter, I need to filter names in mine Views. What happens is this: when I do it this way, in my controller, without creating routes in…
-
2
votes1
answer900
viewsQ: How do I call a right phone number from my ANGULAR JS AND IONIC app
I have an Ionic + Angular Js application that receives the data from the database and in these my data has the phone number as I do when clicking on it calls straight from my application. I…
-
0
votes2
answers543
viewsQ: how to compare hours and tell if the establishment is closed or open and return a Json message
Help me... Thank you. This is the following I have an Api with Php + Sql and returns the data in Json. In my data you have two fields openRestaurante and closeRestaurante, opening hours of an…
-
6
votes1
answer1124
viewsQ: How to filter with ANGULAR JS not to repeat equal names?
I have 2 related tables in the bank: The first table: it is called restaurant to another table : Cardapio . The Cardapio Table receives the primary key of the restaurant so it becomes foreign until…