is-land v1.0.1
Previous versions of is-land allowed <script type="module/island">
for dynamic inline script and the ready
attribute for custom is-land styling.
This version adds support for:
- External scripts
<script type="module/island" src="my-script-file.js">
- Inline style
<style media="style/island">
- Use
data-media
(e.g.<style media="style/island" data-media="(min-width: 1px)">
) to set your ownmedia
attribute value.
- Use
- External style
<link rel="stylesheet" media="style/island">
- Use
data-media
(e.g.<link rel="stylesheet" media="style/island" data-media="(min-width: 1px)">
) to set your ownmedia
attribute value.
- Use