Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@forter/card-list
Advanced tools
An element by Forter
<script>
import '@forter/card-list';
</script>
<fc-card-list>
</fc-card-list>
Property | Attribute | Type | Description |
---|---|---|---|
ROW_INTENTS | {} | ||
columns | columns | any[] | Columns titles |
getRowClass | (rowClass: any, intent: any) => any | ||
getSortedRows | () => any | ||
renderColumnsHeaders | () => TemplateResult | ||
renderData | (intent: any, data: any) => TemplateResult | ||
renderDataCell | ({ label, customRenderer }: { label: any; customRenderer: any; }) => any | ||
renderRows | () => TemplateResult | ||
rows | rows | any | Example: { intent: 'disabled', data: [{label: '1'}, {label: '2'}] } |
sortBy | sortBy | any[] | This is an option to sort rows by a specific key of the rows data. After providing this object the card-list will sort rows depending on it. columnIndex is the index of column you wish to compare. I.e. if we have following columns list (['order', 'name', 'level']) and we want to order by 'order' columns, columnIndex should be 0 (as its the first column on the list). sortKey should be the key in the row's data we want to sort by. I.e. if a row's data is: data: [{label: '1', value: 1}, {label: '2', value: 2}] we can either sort by 'label' or by 'value'. The sortFunction should be accordingly to the key's type (number, string..) as in next example: { columnIndex: 0, sortKey: 'value', sortFunction: (a,b) => {return a-b} } |
Property | Description |
---|---|
--fc-card-list-disabled-color | disabled color. example: gray |
FAQs
card-list from Forter Components
We found that @forter/card-list demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.