Skip to content
This repository was archived by the owner on Nov 16, 2022. It is now read-only.

code-null/cnDefaultComponents

Repository files navigation

code null default components

Note: This project follows the code null guidelines in version 1.0.0

This is a collection of default components, all styled based on the code null colors. The technology specified applies to all of them. It is meant for cases, where there is no other templating engine or style library involved.

Status

Stage: Released

Latest Stable Version: 1.1.0

Technical Details

SegmentTechnical IDReference NameOfficial NameTypeRequires AccountsTechnology
ComponentC0001cnDefaultComponentscode null default componentsCollectionfalseHTML, CSS, POJS

Dependencies to other Devices, Server, Programms, Components

none

Databases

none

Exposed APIs

none

Exposed Components

code null checkbox

HTML SelectorTechnical IDReference NameOfficial NameTypeDescription
cn-checkbox-inC0001-1cnCheckBoxIncode null checkboxInputbasic checkbox

Attributes and Methods

NameTypeDescriptionExpectsreturns
value between anchor tagsattributeDefines the label for the checkboxanynone
checkedattributeChecks the checkbox by defaultnonenone
isCheckedmethodGets the checked state of the checkboxnoneboolean

code null radio button

HTML SelectorTechnical IDReference NameOfficial NameTypeDescription
cn-radio-inC0001-2cnRadioButtonIncode null radio buttonInputbasic radio button

Attributes and Methods

NameTypeDescriptionExpectsreturns
renderRadioButtonsmethodRenders the radio buttons[{label: string, value: string, checked?: boolean}]none
getSelectedmethodSets the value of the radio buttonnonevalue: string | null
unselectAllmethodMarks all radio buttons as uncheckednonenone

Notes

none

License

MIT License

About

Default code null checkbox

Resources

License

Stars

Watchers

Forks

Packages

No packages published