Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Also possible on slider? #1

@andredewaard

Description

@andredewaard

Is there a way to use this for a multiple item slider?
`

<
<div class="grid_nav right" @click="currentItem--">></div>
<div  class="grid_block col-xxs-12 col-xs-6 col-sm-3"
      v-for="item in items"
      transition="item"
      v-if="$index >= currentItem && $index <= currentItem + 3"
  >
  <div class="grid_inner">
    <figure>
      <img v-bind:src="https://github.com/item.image" />
    </figure>
    <div class="grid_content">
      <h4>{{ item.title }}</h4>
      <p>{{{ item.content | hashtag }}}</p>
    </div>
  </div>
</div>
` This is my layout what i want to slide per item. The move class is only applied if i remove the v-if and do a shuffle function on my items object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions