Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
sling-web-component-select
Advanced tools
npm install sling-web-component-select
<sling-select></sling-select>
Name | Type | Default Values | ReflectToAttribute | Observer | callSdk |
---|---|---|---|---|---|
disabled | Boolean | False | :heavy_check_mark: | ||
name | String | :heavy_check_mark: | |||
srcoptions | Array | [ ] | |||
size | Number | :heavy_check_mark: | |||
value | String | :heavy_check_mark: |
Name | Description |
---|---|
disabled | Disables the Select options, preventing the user from clicking and changing their style to dimmed. |
name | Names the select tag to control. |
srcoptions | Array of objects formed by the following properties: name that indicates the text that will be shown in the option and id that will be the value of the option and will be passed through an event to the form that uses the element. The tag will receive this array to mount the select options. |
size | If the control is presented as a scroll listbox, this attribute represents the number of rows in the list box that should be visible at a given time. More info in Select MDN Docs. |
value | Value of the selected tag in the current moment. |
Description: The event is triggered when a change of the value of select, taking in the detail of the event the value of the selected option.
srcoptions Array
const srcoptions =
[
{
name: 'Option1',
id: 1,
},
{
name: 'Option2',
id: 2,
},
{
name: 'Option3',
id: 3,
}
]
All component examples can be emulated using the npm start sling-web-component-select
command.
<sling-select></sling-select>
<sling-select disabled></sling-select>
FAQs
Sling Select
We found that sling-web-component-select demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.