0.0.8 • Published 5 years ago

@vue-polkadot/vue-identicon v0.0.8

Weekly downloads
33
License
Apache-2.0
Repository
-
Last release
5 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

5 years ago

0.0.7

5 years ago

0.0.7-beta01

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago