ngx-height-toggle
Angular(2+) directive to change the height of html elements to their content's height on toggle and on content change.
Usage no npm install needed!
<script type="module">
import ngxHeightToggle from 'https://cdn.skypack.dev/ngx-height-toggle';
</script>