Skip to content

v3.1.3

Compare
Choose a tag to compare
@zerodevx zerodevx released this 30 Aug 07:30
· 11 commits to main since this release
  • Allow no-shadow to be set globally (fixes #120)
<script type="module">
  import ZeroMd from 'https://cdn.jsdelivr.net/npm/zero-md@3'
  customElements.define('zero-md', class extends ZeroMd {
    async load() {
      await super.load()
      this.setAttribute('no-shadow', '')
    }
  })
</script>