Posts by Felipe • 61 points
7 posts
-
0
votes1
answer25
viewsQ: Issue event after close ngx-toastr Angular
I am using the following code to generate the Poup-up toastr showSuccess() { this.toastr.success('You are awesome!', 'Success!', { onHidden: () => { console.log('hidden') }, onCloseClick:…
-
1
votes2
answers630
viewsQ: Regex or Replace in Jquery
How to make a string change by adding new content? Example: <div><span id="number">1195555666<span><div> <script>var newNumber =…
-
1
votes1
answer116
viewsQ: Change Class according to ID
I have the following structure. <div id="cabecalho"> <span data-bind="attr: { id: solicitacao.numero}"></span> <div> where, request returns me a number from 1 to 10 i would…
-
1
votes1
answer2746
viewsQ: How to concatenate values within a class in React.JS
I have the following code: { this.state.listSkills.map(function(habilidade){ return ( <ul className="habilidades"> <li className="habilidade-"{habilidade.value}>…
-
0
votes2
answers560
viewsQ: Notification in Vue
I have an application in Vue js, which registers a task, I would like to be notified 5 minutes before the task happens, I have the following code . function getData(){ let data = new Date(); let dia…
-
1
votes1
answer540
viewsQ: Stop a Function already started in Jquery
The problem is this. I have a function called showJsonProducts(); I want that when I call another Function it stops running, example: $('.btn').click(function(){ showJsonProducts.stop(); ou…
-
1
votes1
answer380
viewsQ: Interval calculation of 2 dates
Personal as I separate dates and calculate the interval of 2 dates and in the daterangepicker? Ex: I put the default selector $('input[name="daterange"]').daterangepicker(); I select the date range…