RxJS. Delay from array
import { of, from } from 'rxjs';
import { map, concatMap, delay } from 'rxjs/operators';
from([2,4,6,8]).pipe(
concatMap(item => of(item).pipe(delay(1000)))
).subscribe(console.log); Stackblitz (in console):
import { of, from } from 'rxjs';
import { map, concatMap, delay } from 'rxjs/operators';
from([2,4,6,8]).pipe(
concatMap(item => of(item).pipe(delay(1000)))
).subscribe(console.log); Stackblitz (in console):
Добавить node в compilerOptions.types ts-конфига
Загрузка изображения вне DOM с последующей подменой
console.log('%ctyapk', 'color: white; background: #212529; font-size: 32px'); Array.from({ length: 7 }, (_, index) => new Date().getFullYear() - index); const { password: _, ...result } = {
id: 7,
name: 'tyapk',
password: '12345',
} Рассмотрены библиотеки для соединения DOM элементов стрелками. В результате исследования выбор остановился на leader-line