ChrisLo.ca
  • Gadgets
    Angular i18n JSON File Translator DeepL Translator Browser Extension/Add-on Lotto Max and Lotto 6/49 EV Calculator
  • RSS
  • Bio
  • Donate
  • My Work
Skip to content

Tag:

Ionic 4
Ionic 4 + Angular 7: Checking whether the generic parent of a component is the active page

Ionic 4 + Angular 7: Checking whether the generic parent of a component is the active page

Posted on May 9, 2019Categories Dev, ImagesLeave a comment on Ionic 4 + Angular 7: Checking whether the generic parent of a component is the active page

There’s no straightforward way yet in getting the parent component of a component via dependency injection without knowing the type of the parent component. This poses a problem if you want your component consumed by many different types of parent components.

A common scenario where this problem occurs is an Ionic 4 app with several pages that use so… Read more

Tags AngularIonicIonic 4
A technologist’s world view from first principles

(subscribe)

Trending

  • Expected Value Calculator for Lotto Max and Lotto 6/49
  • DeepL Translator Browser Extension/Add-on (en)
  • Why “these updates help protect you in an online world” scares me, and it’s not the online world

Recent Posts

  • DeepL Translator Browser Extension/Add-on (en) November 29, 2020
  • Ionic 5 + React: positioning a popover relative to the clicked element August 4, 2020
  • Ionic 5: animated collapsible searchbar using only SCSS July 2, 2020

Recent Comments

  • Chris on DeepL Translator Browser Extension/Add-on (en)
  • Chris on DeepL Translator Browser Extension/Add-on (en)
  • Chris on DeepL Translator Browser Extension/Add-on (en)
  • Toprak on DeepL Translator Browser Extension/Add-on (en)
  • Dev
  • Images
  • Technology
  • Games
  • Math
  • Algorithms
  • Psychology
  • My Work
  • Politics
  • Economics
  • Lifestyle
  • News