π«Ά
Working on the next thing β¦
UX-Lead and hobby app developer focusing on Sports Tech βπ»
-
Sticos / Walgtech
- Trondheim, Norway
Pinned Loading
-
Angular 6 - Globally set meta title ...
Angular 6 - Globally set meta title in app on route change 1import { Injectable } from '@angular/core';
2import { Title } from '@angular/platform-browser';
3import { Router, NavigationEnd, ActivatedRoute } from '@angular/router';
4import { filter, map, mergeMap } from 'rxjs/operators';
5 -
Angular 2+ truncate text pipe
Angular 2+ truncate text pipe 1import { Pipe, PipeTransform } from '@angular/core';
2/*
3* Truncates an text with defined cut off length
4* Takes an input parameter string.
5* Usage:
-
Angular 2+ reading time pipe
Angular 2+ reading time pipe 1import { Pipe, PipeTransform } from '@angular/core';
2/*
3* Show total reading time for an text
4* Takes an input parameter text.
5* Usage:
-
Angular 2+ safe content pipe
Angular 2+ safe content pipe 1import { Pipe, PipeTransform } from '@angular/core';
2import {
3DomSanitizer,
4SafeHtml,
5SafeStyle,
-
Angular 2+ strip html pipe
Angular 2+ strip html pipe 1import { Pipe, PipeTransform } from '@angular/core';
2/*
3* Strips HTM
4* Takes an input parameter HTML.
5* Usage:
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.