Drawer

Press CTRL key for hide the OnoffCanvas or click outside of Onoffcanvas

Left Canvas

Open Onoffcanvas

Code

<style>
  .onoffcanvas-drawer.is-open {
    background: rgba(0, 0, 0, .5);
  }
</style>

<script>
  OnoffCanvas.autoinit();
</script>

Left Canvas