This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const params = [ | |
| { | |
| name: 'p1', | |
| timestamp: 12 | |
| }, | |
| { | |
| name: 'p1', | |
| timestamp: 13 | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| JavaScript 9 hrs 35 mins ███████████▊░░░░░░░░░ 56.4% | |
| Vue.js 5 hrs 49 mins ███████▏░░░░░░░░░░░░░ 34.3% | |
| Other 49 mins █░░░░░░░░░░░░░░░░░░░░ 4.9% | |
| JSON 21 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.1% | |
| Properties 10 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.0% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"lastUpload":"2020-03-31T04:50:12.499Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div> | |
| <div class="slider"> | |
| <slot></slot> | |
| </div> | |
| <span | |
| style="position:absolute;top:45%;left:-1%;font-size:30px;cursor:pointer;background:grey;border-radius:100px;width:40px;text-align:center;padding-right:5px" | |
| @click="left()" | |
| > | |
| <i class="fas fa-angle-left" style="color:white"></i> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Dados obtidos de algum lugar | |
| const usuarios = [ | |
| { nome: 'Aluno 1', parcelasFaltantes: 3, valor: 89.9 }, | |
| { nome: 'Aluno 2', parcelasFaltantes: 5, valor: 19.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 7, valor: 49.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 6, valor: 69.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 2, valor: 99.9 } | |
| ] | |
| // Reatribuicao das funcoes map e reduce para suportar composicao |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const map = fn => xs => xs.map(fn); | |
| const reduce = (fn, ini) => xs => xs.reduce(fn, ini) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const usuarios = [ | |
| { nome: 'Aluno 1', parcelasFaltantes: 3, valor: 89.9 }, | |
| { nome: 'Aluno 2', parcelasFaltantes: 5, valor: 19.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 7, valor: 49.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 6, valor: 69.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 2, valor: 99.9 } | |
| ] | |
| const totalPorUsuario = usuario => | |
| usuario.parcelasFaltantes * usuario.valor; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const usuarios = [ | |
| { nome: 'Aluno 1', parcelasFaltantes: 3, valor: 89.9 }, | |
| { nome: 'Aluno 2', parcelasFaltantes: 5, valor: 19.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 7, valor: 49.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 6, valor: 69.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 2, valor: 99.9 } | |
| ] | |
| const totalPorUsuario = usuario => | |
| usuario.parcelasFaltantes * usuario.valor; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const usuarios = [ | |
| { nome: 'Aluno 1', parcelasFaltantes: 3, valor: 89.9 }, | |
| { nome: 'Aluno 2', parcelasFaltantes: 5, valor: 19.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 7, valor: 49.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 6, valor: 69.9 }, | |
| { nome: 'Aluno 1', parcelasFaltantes: 2, valor: 99.9 } | |
| ] | |
| let total = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Alunos Front</title> | |
| </head> | |
| <body> | |
| <h1>Lista de alunos estático</h1> |