@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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.390latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.390
1.0.380
1.0.310
1.0.300
1.0.290
1.0.280
1.0.270
1.0.260
1.0.250
1.0.240
1.0.220
1.0.210
1.0.201
1.0.190
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.31
1.0.22
1.0.00

Package Sidebar

Install

npm i @inyur/bg-random-image

Weekly Downloads

4

Version

1.0.39

License

none

Unpacked Size

82.6 kB

Total Files

6

Last publish

Collaborators

  • dryymoon