
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
buttons-toggle-selection
Advanced tools
This Angular component (`ListDisplaySelectionComponent`) is responsible for displaying and managing a list of items with selection capabilities.
This Angular component (ListDisplaySelectionComponent
) is responsible for displaying and managing a list of items with selection capabilities.
multiple: boolean
: Indicates if multiple selections are allowed.toolTipPosition: 'below' | 'above' | 'left' | 'right'
: Position of the tooltip for the selection component.data: ListItem[]
: Array of ListItem
objects for display.selected?: string|null
: Currently selected item.ControlValueAccessor: Provides control and value accessor for Angular forms.
Model to use - ListItem
const groupOptions: ListItem[] = [
{ label: 'Sample', value: 'test', icon: 'add' },
{ value: 'list', icon: 'list' },
{ value: 'list', label: 'me' },
{ label: '', value: 'grid', icon: 'grid_on', tootTip: 'Grid View'},
]
or
const groupOptions = ['store', 'data', 'type', 'expiresIn', 'options']
<app-list-display-selection
[formControl]="selectedDisplay"
[data]="groupOptions"
></app-list-display-selection>
FAQs
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
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.