🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

-isoftdata-svelte-checkbox

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

-isoftdata-svelte-checkbox

## Install

unpublished
latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Svelte Checkbox

Install

npm i @isoftdata/svelte-checkbox

Props

NameTypeDescriptionDefault Value
idstringThe id of the input(defaults to a uuid generated at runtime)
labelstringThe label to be show to the user for the checkbox''
namestringPassed to the input when type = checkbox
checkedbooleanThe checked state of the checkbox.false
showLabelbooleanWheather to show the labeltrue
titlestringtitle attribute for the input element. Browsers treat this like a tooltip''
indeterminatebooleanThe indeterminate property on the input checkbox elementfalse
inlinebooleanWhether the label and input's parent div should have the Bootstrap form-check-inline class applied.
trueLabelstringThe label for the "true" button when type="radio"'Yes'
falseLabelstringThe label for the "false" button when type="radio"'No'

Events

  • change - A brief description of the event, if there are any

Example

<script lang="ts">
	import Checkbox from '@isoftdata/svelte-checkbox'

	let isTheCheckboxChecked = false
</script>

			<Checkbox
				label="Checkbox!"
				bind:checked={isTheCheckboxChecked}
			/>

FAQs

Package last updated on 14 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts