![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@amaury-tobias/v-avatar
Advanced tools
Componente de Avatar para Vue.js
Este componente esta altamente inspirado y basado en el trabajo de https://github.com/eliep/vue-avatar, para recuperar y mantener un componente de mucha utilidad, agradecimientos totales.
Para el uso del componente es necesario:
Puedes encontrar algunos ejemplos aquí.
npm install @amaury-tobias/v-avatar
v-avatar es un modulo UMD, por lo que puede ser utilizado en tanto en una instancia de Vue como en Nuxt como en un entorno non-modular donde vAvatar
sera registrada como variable global.
<template>
<div>
<v-avatar username='John Doe' />
</div>
</template>
<script>
import { vAvatar } from '@amaury-tobias/v-avatar'
export default {
components: {
vAvatar
}
}
</script>
import Vue from 'vue'
import vAvatar from '@amaury-tobias/v-avatar'
Vue.use(vAvatar)
./plugins/vAvatar.js
import Vue from 'vue'
import vAvatar from '@amaury-tobias/v-avatar'
Vue.use(vAvatar)
nuxt.config.js
module.exports = {
plugins: ['~/plugins/vAvatar.js']
}
*.vue <template>
<v-avatar username="John Doe" />
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://unpkg.com/@amaury-tobias/v-avatar"></script>
</head>
<body>
<div id="app">
<v-avatar username="Jon Doe"></v-avatar>
</div>
<script>
var app = new Vue({
el: '#app'
})
</script>
</body>
</html>
Name | Required | Type | Default |
---|---|---|---|
username | x | String | 'V-A' |
initials | x | String | - |
inline | x | Boolean | false |
src | x | String | - |
:customStyle | x | Object | - |
backgroundColor | x | String | - |
color | x | String | - |
:lighten | x | Number | 80 |
:size | x | Number | 50 |
:rounded | x | Boolean | false |
# install dependencies
npm install
# serve whith hot reload al localhost:8080
npm run serve
# build
npm run build
npm test
Released under the MIT License.
FAQs
Componente de avatar basado en Vue.js
The npm package @amaury-tobias/v-avatar receives a total of 10 weekly downloads. As such, @amaury-tobias/v-avatar popularity was classified as not popular.
We found that @amaury-tobias/v-avatar 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.