Posts by Jonathan Santos • 64 points
6 posts
-
-2
votes1
answer42
viewsA: Which Javascript framework would you recommend for dynamically creating DOM Object?
Would jquery not suit you? var button = $('<input type="button" class="sua_classe_css">').val('nome_do_botao').click(function () { window.location.href = 'SEU_LINK'; });…
-
0
votes1
answer91
viewsA: Private method in JAVASCRIPT class
Without changing the notation pattern is not possible, you can use typescript that adds various concepts of typed languages (But your method will not be private really, only typescript will complain…
-
1
votes1
answer102
viewsQ: Changedetectionstrategy from the Angular
When studying Angular 6 I was seeing that it has different strategies of how Component is updated according to the Events, XHR and Observables within my application. After much research I did not…
-
1
votes1
answer31
viewsA: How to structure the parameters in a javascript object
In fact what is giving Undefined would be your this.TABLE because when running this inside your object it is picking up the scope from outside, and not from the object. A valid course of action…
-
3
votes1
answer766
viewsA: Block HTML source code
So Vitor, usually not an html markup obfuscator is used, but a google search in: html obfuscate. I signed in to a site that gave html: <!DOCTYPE html> <html lang="en"> <head>…
-
0
votes1
answer82
viewsA: require em Vue.js Component
I believe require would only work on Node friend (if you’re not using an import lib), try using es6 syntax: import axios from 'axios';…