Posts by Juliano da Silva Barbosa • 942 points
22 posts
-
3
votes7
answers58283
viewsA: Regular expression for e-mail validation
Create a function with the example name: validEmail. This function should receive the email by parameter and check if it is a valid email. The user name (before the arroba) can be any alphanumeric…
-
2
votes1
answer308
viewsQ: What advantages does Angular 4 have over Angularjs 1.6?
I work with Angularjs 1.6 and I am studying angular4, I know that as all language and technology goes constantly through a process of evolution, but this change that the angular had is recommended…
angularasked Juliano da Silva Barbosa 942 -
3
votes2
answers3254
viewsA: Angular.js, is it MVC, MVVM or MVP?
There is a lot of information on the internet about this subject and despite an advertising that google does about its standard talking that is MVW, Model-View-Whatever in which I agree with…
-
1
votes1
answer45
viewsA: How to insert new image into COMPASS project
To do Save with Compass we need to isolate the images that we want to merge into a folder, which will be called Sprite and will be inside the images folder. We need to warn Compass that whenever…
-
3
votes2
answers3254
viewsQ: Angular.js, is it MVC, MVVM or MVP?
I know that in angular projects has model, view and controller but many say that angular.js is MVVM and others say it is MVP
-
23
votes3
answers4443
viewsQ: What are the main differences between Angular, React and Vue.js?
On a project SPA which will soon be used also in a mobile app, I need to know the main differences to decide which one framework should I specialize.
-
4
votes3
answers6724
viewsQ: How to use Ellipsis css3?
I’m trying and I’m doing the same explains at w3schools but it’s not working. .box { width: 250px; text-overflow: ellipsis; border: 1px solid #000000; } <div class="box"> Lorem ipsum dolor sit…
-
2
votes1
answer788
viewsA: How to use CHARSET correctly in Angularjs
You need to set a Accept in the header. Accept: application/json;charset=UTF-8 Accept-Charset: UTF-8 var config = { headers : { 'Accept': "application/json;charset=utf-8',…
-
6
votes2
answers582
viewsA: How to minify project in Angularjs?
The problem is that the minification process changes the name of the function parameters. There is no problem in this, as long as the new name is changed everywhere it is used, but the Angular…
-
3
votes1
answer429
viewsQ: What is Asyncpostbacktrigger Class?
How should I wear and what makes this kind of class?
-
2
votes1
answer558
viewsQ: How much data can cookies store?
Cookies are information stored by websites on your computer but how much data cookies can store?…
-
8
votes1
answer400
viewsQ: In Sass what is the difference between a mixin and a placeholder?
The two have the same end result, but do not know which is the correct or which has better performance example: %borda($circunferencia: 10px) { -webkit-border-radius: $circunferencia; border-radius:…
-
2
votes1
answer197
viewsQ: Error in uploading Ionic app
when I pass the command on my Ionic upload terminal shows the error below and does not move up the file in Ionic view ionic upload Uploading app... An error occurred uploading the build: An error…
-
1
votes1
answer84
viewsA: Gulp task does not rotate (but turns callback)
We can indicate in a task which is its dependency, that is, which task should be executed before. see this example that the copy task waits for the clean task to finish running: // adicionando clean…
gulpanswered Juliano da Silva Barbosa 942 -
2
votes1
answer2145
viewsA: What is the difference between JWT and JWS?
JWT uses JWS for its signature, from the specification: The JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. Requests in a JWT are…
-
1
votes1
answer126
viewsA: Minification in the Gulp
This way Javascript and css are minified var htmlReplace = require('gulp-html-replace') // troca os textos dentro do html ,uglify = require('gulp-uglify') // ninifica js ,usemin =…
-
1
votes3
answers472
viewsA: Problem when installing SASS
1 - Go no https://rubygems.org and download the Gems Sass 2 - Throw them to the root of the Ruby installation folder (usually in C: ) 3 - Still in the Ruby folder, in the explorer’s address bar,…
-
4
votes1
answer1028
viewsQ: How to convert px to vh and vw in Javascript?
I want to convert px to vh and vw in Javascript, how can I do this? example 23px = response vh or vw
-
1
votes1
answer381
viewsA: height: vh; does not work as it should in Chrome mobile
example: .intro-noticias { width: 100%; height: 89vh; height: 200px; margin-top: 70px; } The browser sees height: 200px, If the browser understands the vh drive, it will use 89vh instead of 200px;…
-
1
votes2
answers2445
viewsA: Why doesn’t Css work?
Enter at the top of your css the @import url that problem will be solved Take the example: @import url('https://fonts.googleapis.com/css?family=Open+Sans'); .texto { font-family: "Open Sans",…
-
2
votes2
answers14161
viewsA: Video run in a div as background
Hello friend is easy with html 5 just have a jpg video poster, mp4 video follows an example html: <video autoplay loop poster="nome-do-video.jpg" class="bg_video"> <source…
-
1
votes1
answer553
viewsA: Transition effect in angular menu
install the angular library-Animate.min ultize the ng-Leave-active class in css example: .menu-option { -moz-transition:transform 0.8s; -webkit-transition:transform 0.8s; -ms-transition:transform…