. However it’s important to note that some of the workarounds are slightly inelegant. This may not be the optimal way to do it — other solutions are certainly possible!</p>
</div>
<div id="appendix" class="section level2">
<h2 class="hasAnchor">
<a href="#appendix" class="anchor"></a>Appendix</h2>
<div id="complete-app-code" class="section level3">
<h3 class="hasAnchor">
<a href="#complete-app-code" class="anchor"></a>Complete app code</h3>
<div class="sourceCode" id="cb16"><pre class="downlit sourceCod