-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(list): infinite scroll * fix(list): inital reset value true * test: list header * fix(meta): only set charset once and make it first * test(list): methods * test(card): call cloudinaryify * test(item-component): add snapshot * fix(list): fetch on server The virtual list component can't be stringified on the server. * fix(list): use ul for wrap-tag * fix(list-item): add view prop
- Loading branch information
1 parent
34546c5
commit 543925c
Showing
28 changed files
with
732 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<template> | ||
<card v-bind="source" :type="source['@type']" :layout="view" /> | ||
</template> | ||
|
||
<script> | ||
import Card from '@/components/List/Card.vue'; | ||
export default { | ||
components: { Card }, | ||
props: { | ||
index: { | ||
// index of current item | ||
type: Number, | ||
}, | ||
view: { type: String }, | ||
source: { | ||
// here is: {uid: 'unique_1', text: 'abc'} | ||
type: Object, | ||
default() { | ||
return {}; | ||
}, | ||
}, | ||
}, | ||
}; | ||
</script> |
Oops, something went wrong.
543925c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to following URLs: