Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@rei/cdr-link
Advanced tools
For the most up-to-date information, see REI Cedar documentation.
tag | string | 'a' |
---|---|---|
name | type | default |
Sets valid HTML element tag. Possible values: { ‘a’ | ‘button’ }
modifier | string | N/A |
---|---|---|
name | type | default |
Modifies the style variant for this component. Possible values: { ‘standalone’ }
href | string | "#” |
---|---|---|
name | type | default |
Sets URL to cdr-link href property. The tag prop requires value of <a>
default |
---|
name |
Sets the innerHTML for cdr-link. This includes text and html markup |
Resources are available within the cdrLink package:
@rei/cdr-link
cdr-link.css
To incorporate the required assets for a component, use the following steps:
Install the cdrLink
package using npm
in your terminal:
Terminal
npm i -s @rei/cdr-link
main.js
// import your required css.
import "@rei/cdr-link/dist/cdr-link.css";
// If your link will display an icon ensure you also include the icon’s css file.
import "@rei/cdr-link/dist/cdr-icon.css";
local.vue
<template>
...
<cdr-link href="rei.com">Ten Essentials.</cdr-link>
...
</template>
<script>
import { CdrLink } from '@rei/cdr-link';
export default {
...
components: {
CdrLink
}
}
</script>
By default, the component renders using an anchor element and requires an href
attribute or tag to render a valid accessible link.
<cdr-link href="http://rei.com">
Visit REI
</cdr-link>
Use the tag prop to render the link as a <button>
element that presents a link appearance without an href
attribute.
<cdr-link tag="button">
Show Details
</cdr-link>
To effect the visual presentation pass the following variants to the modifier attribute of the cdrLink component.
Standalone
: Include as an independent call to action to expand content, remove filters, or provide additional informationFAQs
REI Cedar Style Framework - Vue Component for Link
We found that @rei/cdr-link demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.