2.0.0 • Published 9 months ago

@openenergytools/scl-checkbox v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
9 months ago

\

This is a web component meant to be used for SCL type attributes restricted to xs:boolean. In addition to default input it allows to have a value="null" for XML type attributes.

Usage

This element was meant to be used only for plugins in this organization. If it still fills you bill please use or re-use it. But be aware that we will not react on feature wishes that do not contribute to the needs of plugin in this organization.

SclCheckbox.ts:

class: SclCheckbox, scl-checkbox

Superclass

NameModulePackage
LitElementlit

Mixins

NameModulePackage
ScopedElementsMixin@open-wc/scoped-elements/lit-element.js

Static Fields

NamePrivacyTypeDefaultDescriptionInherited From
scopedElementsobject`{
'md-switch': MdSwitch,
'md-checkbox': MdCheckbox,

}` | | |

Fields

NamePrivacyTypeDefaultDescriptionInherited From
nullablebooleanfalseWhether [[`value`]] may be set to `null` by nullSwitch
defaultValue'true' \| 'false' \| undefinedThe default value defined by the XSD attribute default
value'true' \| 'false' \| nullSCL attributes `value`, can only be `null` if [[`nullable`]].
disabledbooleanfalse
labelstring''
supportingTextstring''
nullSwitchMdSwitch \| undefined

Methods

NamePrivacyDescriptionParametersReturnInherited From
reportValidityboolean
checkValidityboolean

Events

NameTypeDescriptionInherited From
inputEvent

Fields

NamePrivacyTypeDefaultDescriptionInherited From
checkboxValueprivate'true' \| 'false''false'
userTextprivatestring
isNullprivatebooleanfalse
parkedValueprivate'true' \| 'false' \| nullnull
nullprivateboolean

Methods

NamePrivacyDescriptionParametersReturnInherited From
renderNullSwitchprivateTemplateResult

Exports

KindNameDeclarationModulePackage
jsSclCheckboxSclCheckboxSclCheckbox.ts

scl-checkbox.ts:

Exports

KindNameDeclarationModulePackage
custom-element-definitionscl-checkboxSclCheckbox/SclCheckbox.js

© 2023 The Contributors

2.0.0

9 months ago

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago