Created
January 9, 2020 17:17
-
-
Save mateusduraes/59f2f87398c31f1afae59b438c781b0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://developer.mozilla.org/pt-BR/docs/Web/API/MutationObserver --> | |
<ion-content> | |
<div> | |
<message *ngFor></message> | |
</div> | |
</ion-content> | |
<script> | |
const llist = null; | |
const obs = new MutationObserver(() => { | |
// scroll | |
}) | |
obs.observe(llist, { | |
childList: true, | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment