2.0.1 • Published 9 months ago

@openenergytools/scl-select v2.0.1

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:enumeration. 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.

SclSelect.ts:

class: SclSelect, scl-select

Superclass

NameModulePackage
LitElementlit

Mixins

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

Static Fields

NamePrivacyTypeDefaultDescriptionInherited From
scopedElementsobject`{
'md-switch': MdSwitch,
'md-filled-select': MdFilledSelect,
'md-select-option': MdSelectOption,

}` | | |

Fields

NamePrivacyTypeDefaultDescriptionInherited From
nullablebooleanfalseWhether [[`value`]] may be set to `null` by nullSwitch
valuestring \| nullSCL attributes `value`, can only be `null` if [[`nullable`]].
selectOptionsstring[][]Value array be be renders as selection option inside the selection input
disabledbooleanfalse
labelstring''
requiredbooleanfalse
supportingTextstring''
nullSwitchSwitch \| undefined

Methods

NamePrivacyDescriptionParametersReturnInherited From
reportValidityboolean
setCustomValiditymessage: stringvoid
checkValidityboolean

Events

NameTypeDescriptionInherited From
inputEvent

Fields

NamePrivacyTypeDefaultDescriptionInherited From
selectValueprivatestring''
isNullprivatebooleanfalse
parkedValueprivatestring \| nullnull
nullprivateboolean
selectInputprivateSelect \| undefined

Methods

NamePrivacyDescriptionParametersReturnInherited From
renderNullSwitchprivateTemplateResult
renderSelectOptionprivateselectOption: stringTemplateResult

Exports

KindNameDeclarationModulePackage
jsSclSelectSclSelectSclSelect.ts

scl-select.ts:

Exports

KindNameDeclarationModulePackage
custom-element-definitionscl-selectSclSelect/SclSelect.js

© 2023 The Contributors

2.0.1

9 months ago

2.0.0

9 months ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago