0.0.8 • Published 6 years ago

@vue-polkadot/vue-identicon v0.0.8

Weekly downloads
33
License
Apache-2.0
Repository
-
Last release
6 years ago

Installation

npm install --save @vue-polkadot/vue-identicon

Props

NameDescriptionTypeDefault
valueAddress for generating iconStringnull
themeTheme for iconStringjdenticon
sizeSize of iconNumber128

Usage

<template>
  <Identicon
    :value="address"
    :theme="theme"
    :size="size"
  />
</template>

<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
import Identicon from '@vue-polkadot/vue-identicon';

@Component({
  components: {
    Identicon,
  },
})
export default class Keypair extends Vue {
  @Prop(String) public address!: string;
  @Prop({ default: 'polkadot'}) public theme!: string;
  @Prop({ default: 64 }) public size!: number;
}
</script>

FAQ

  • Themes?
    • Yes, there are themes 'polkadot', 'substrate', 'beachball' or 'jdenticon'
0.0.8

6 years ago

0.0.7

6 years ago

0.0.7-beta01

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago