Код: Выделить всё
console.log('Inside Angular zone?', NgZone.isInAngularZone()); // => true
await Promise.resolve();
console.log('Inside Angular zone?', NgZone.isInAngularZone()); // => false
< /code>
(сделано в этом стеклебите) < /p>
почему это так? < /p>
, если я не использую, например, Zone.RunOutsIdeAngular () Подробнее здесь: https://stackoverflow.com/questions/797 ... ngzone-why
Мобильная версия