@inyur/bg-random-image

1.0.39 • Public • Published

Inyur Background random image [nuxt-vue-component]

Install

  • npm i -S @inyur/bg-random-image

Usage

import Vue from 'vue';
import InyurBgRandomImage from '@inyur/bg-random-image';

Vue.use(InyurBgRandomImage); // For global usage

export default {
  // ...
  components: {
    InyurBgRandomImage // for local usage
  }
  // ...
}
<InyurBgRandomImage
  apiImageUrl="/v1/random-image/page-login-background"
>
  Some optional content
</InyurBgRandomImage>

##Slots ###Default Default slot can receive any content.

Props

apiImageUrl*

Required

Type: String

Default: /v1/random-image/default

fixHeight

Type: Bool

Default: false

updateInterval

Less than 1000 will disable updates

Type: Positive Integer

Default in prod: 60000

Default in dev: 10000

Readme

Keywords

none

Package Sidebar

Install

npm i @inyur/bg-random-image

Weekly Downloads

0

Version

1.0.39

License

none

Unpacked Size

82.6 kB

Total Files

6

Last publish

Collaborators

  • dryymoon