Giter Club home page Giter Club logo

ionic-nav-siblings-data's Introduction

Angular Ionic RxJS TypeScript SASS Android

Ion-nav-project

ion-nav is a standalone component for loading arbitrary components and pushing new components on to the stack. It's not tied to a particular router, so this means that if we load a Nav component, and push other components to the stack, they will not affect the app's overall router. That's what this project has been about, avoiding Angular Router with interactions done via NavLink as a simplified API, and creating additional components which have been customized to pass data between multiple reactive forms when the user is moving forward though the application.

Customizing ionic components

  • ion-nav-link component which has been wrapped up with a dynamic div to make it not clickable for the user while form is not active. This component is re-used in each form to make the magic happens when user wants to go forward in the App.

    Capture
  • ion-modal component where final form is rendered with data set in all views by the user. This is just in use in a specific component(email component) so methods and data are linked using Input(), Output() Decorators for transferring/detect data changing and modify the DOM.

    Capture

Sharing Data between siblings

Data service where a Subject(BehaviorSubject) is set with registering values when user submit a form in each view of the App. Then, the data is stored asObservable in a global variable, being able to get back those values from any level needed.

Capture

Technology

@angular/cli: "15.0.0"
rxjs: "7.5.0"
typescript: "4.8.4"
@ionic/angular: "6.1.9"
@capacitor/cli: "4.6.1"

Author

JoseMMorales

ionic-nav-siblings-data's People

Contributors

josemmorales avatar

Stargazers

 avatar

Watchers

 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.