Giter Site home page Giter Site logo

angular-tutorial's Introduction

Fix de checks

In dit tutorial dien je 3 duimpjes om te draaien. Onderstaand de stappen

Installeer git

https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

Installeer node

https://nodejs.org/en/download/

####Check het project uit git clone https://github.com/wmartijnfaber/angular-tutorial.git

Installeer packages

navigeer via de cli naar de project folder en draai npm i (npm install)

Creeer je eigen branch

git checkout -b jouwBranchNaam

Doel van de opdracht

Zorg dat de 3 checks in app-result gehaald worden zonder daar code aan te passen (niet aan result/*ts komen). Creeer een eigen component: https://angular.io/cli/generate Voeg daar interactieve knoppen/links toe om de checks te manipuleren. Denk aan <button (click)=mijnClickFunctie(). Of kijk de refresh functionaliteit af uit het result.component.html en result.component.ts

Check 1

Bouw een event emitter. (https://stackoverflow.com/questions/36076700/what-is-the-proper-use-of-an-eventemitter)

Check 2

Update de param via de check service. Injecteer de checkservice in je component, bouw een methode in de service om te updaten. (TIP! Gebruik de refresh functionaliteit om de tweede check te halen)

Check 3

Dispatch een action om de state te updaten (https://www.ngxs.io/concepts/store).

Creeer een pull request op github.

https://github.com/wmartijnfaber/angular-tutorial/pulls

angular-tutorial's People

Contributors

wmartijnfaber avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.