
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
vue-arc-text
Advanced tools
Wrapper Library of arc-text to curve any text font on the web directly with Vue.
npm install --save vue-arc-text
<template>
<vue-arc-text ref="arctext" :text=text :arc=+arc :direction=direction :className="classFont"></vue-arc-text>
</template>
<script>
import VueArcText from './Vue-arc-text.vue'
export default {
components: { VueArcText },
data () {
return {
text: '',
direction: 1,
arc: 150
}
},
}
</script>
Parameter | Type | Default | Description |
---|---|---|---|
text | string | Text you want to curve | |
arc | number | 150 | Angle you want to curve |
direction | number | 1 | 1 is clockwise mode and -1 is counter-clockwise mode |
class | string | to add class into Component |
You can access to update function to force the update of component.
for example:
const arcText = this.$refs['arctext']; //get the element by reference. the reference name is referenced by refs in the tag element.
arcText.update() // now you can force the update.
Alex Marcos Gutierrez
MIT © [alex marcos <alexsbd1@gmail.com>](https://github.com/alex marcos <alexsbd1@gmail.com>)
FAQs
vue around text components
The npm package vue-arc-text receives a total of 2 weekly downloads. As such, vue-arc-text popularity was classified as not popular.
We found that vue-arc-text 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.