).
    :scope {
      display: flex;
      background-color: rgba(0, 0, 0, 0.1);

      .modal {
        background-color: white;
        padding: 10px 20px;
        width: 120px;
      }
    }

modal-autofocus-test
  button.block.w-full.text-left(ref='autofocus', onclick='{alert}') OK
  style(type='less').
    :scope {
      display: block;
    }
  script.
    this.alert = function() {
      spat.modal.alert('TEST');
    };
</script>
<script>

riot.mount('app');    

document.addEventListener('DOMContentLo