This file contains 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
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { AppComponent } from './app.component'; | |
import { ApolloModule } from 'apollo-angular'; | |
import { ApolloConfigModule } from './apollo-config.module'; | |
@NgModule({ | |
declarations: [ | |
AppComponent |
This file contains 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
import { Component } from '@angular/core'; | |
import { Apollo } from 'apollo-angular' | |
import gql from 'graphql-tag' | |
/* | |
Apollo is needed to bring Apollo class to the constructor | |
gql is a lib to create larger strings - our queries - and permit | |
vscode syntax-highlight | |
*/ |
This file contains 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
import { Component } from '@angular/core'; | |
import { Apollo } from 'apollo-angular' | |
import gql from 'graphql-tag' | |
/* | |
Apollo is needed to bring Apollo class to the constructor | |
gql is a lib to create larger strings - our queries - and permit | |
vscode syntax-highlight | |
*/ |
This file contains 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
import { NgModule } from '@angular/core'; | |
import { ApolloModule, Apollo } from 'apollo-angular'; | |
import { HttpClientModule } from '@angular/common/http'; | |
import { HttpLinkModule, HttpLink } from 'apollo-angular-link-http'; | |
import { InMemoryCache } from 'apollo-cache-inmemory'; | |
@NgModule({ | |
imports:[ | |
HttpClientModule, | |
ApolloModule, |
This file contains 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
$("a").on("click", function(event) { | |
if (this.hash !== "") { | |
event.preventDefault(); | |
var hash = this.hash; | |
$("html, body").animate( | |
{ | |
scrollTop: $(hash).offset().top | |
}, |
This file contains 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
this[temp + 'GridData'] = _.clone(this[temp + 'FilterArray']); | |
if (getTerm !== null && getTerm !== '') { | |
for (let i = 0; i < this[temp + 'GridData'].length; i++) { | |
if (this[temp + 'GridData'][i].Name.toLowerCase().indexOf(getTerm.toLowerCase()) !== -1) { | |
tempArray.push(this[temp + 'GridData'][i]); | |
} | |
if (this.isByChain && this[temp + 'GridData'][i]['PropertyName']) { | |
if (this[temp + 'GridData'][i]['PropertyName'].toLowerCase().indexOf(getTerm.toLowerCase()) !== -1) { |
This file contains 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
module.exports = { | |
username: "morcegos", | |
password: "morcegos123" | |
} |
This file contains 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
.container{ | |
width: 100%; | |
} | |
.foo{ | |
width: auto; | |
position: absolute; | |
left: 50%; | |
top: 50%; | |
transform: translate(-50%,-50%) !important; |
This file contains 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains 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
using System; | |
using System.ComponentModel; | |
using System.Runtime.CompilerServices; | |
using System.Windows.Input; | |
using Xamarin.Forms; | |
namespace FiapCoin.ViewModel | |
{ | |
public class LoginViewModel : INotifyPropertyChanged | |
{ |