pull/7944/head
Yuichiro Yamashita 4 years ago
parent 87b5c2d290
commit ebb77dab87

@ -1,8 +1,4 @@
export default { export default {
// This is a bit of a funny one — there's no equivalent attribute,
// so it can't be server-rendered
skip_if_ssr: true,
props: { props: {
indeterminate: true indeterminate: true
}, },

@ -0,0 +1,11 @@
export default {
props: {
inert: true
},
test({ assert, target, component }) {
const div = target.querySelector('div');
assert.ok(div.inert);
component.inert = false;
assert.ok(!div.inert);
}
};

@ -0,0 +1,5 @@
<script>
export let inert;
</script>
<div {inert}>some div <button>click</button></div>
Loading…
Cancel
Save