All files / src/checkbox Checkbox.svelte

60.78% Statements 62/102
41.66% Branches 20/48
46.15% Functions 12/26
68.23% Lines 58/85

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25      1x 1x 1x               1x               1x   1x 3x
<input
	type="checkbox"
	class="checkbox {className}"
	class:indeterminate
	{...props}
	bind:this="{_this}"
	bind:checked="{checked}"
	bind:indeterminate="{indeterminate}"
	on:focus
	on:change>
 
 
<script>
import { pluck } from '../util';
export let _this = undefined;
export let indeterminate = false;
export let checked = false;
let className = '';
export { className as class };
 
 
$:props = pluck($$props, ['id', 'title', 'name', 'disabled', 'required']);
 
</script>