@@ -21,26 +21,24 @@ export class AppComponent {
21
21
} ;
22
22
readonly storyGroups : StoryGroup [ ] = [
23
23
{
24
- id : 1 ,
25
24
name : 'Steve Smith' ,
26
25
stories : [
27
- { id : 1 , type : 'image' , content : 'https://i.ibb.co/ZMVy3KN/pexels-rpnickson-2486168.jpg' } ,
28
- { id : 2 , type : 'component' , content : CustomComponentComponent } ,
29
- { id : 3 , type : 'video' , content : 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4' } ,
30
- { id : 4 , type : 'video' , content : 'https://www.w3schools.com/html/mov_bbb.mp4' } ,
31
- { id : 5 , type : 'video' , content : 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4' } ,
32
- { id : 6 , type : 'image' , content : 'https://d38b044pevnwc9.cloudfront.net/cutout-nuxt/enhancer/3.jpg' }
26
+ { type : 'image' , content : 'https://i.ibb.co/ZMVy3KN/pexels-rpnickson-2486168.jpg' } ,
27
+ { type : 'component' , content : CustomComponentComponent } ,
28
+ { type : 'video' , content : 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4' } ,
29
+ { type : 'video' , content : 'https://www.w3schools.com/html/mov_bbb.mp4' } ,
30
+ { type : 'video' , content : 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4' } ,
31
+ { type : 'image' , content : 'https://d38b044pevnwc9.cloudfront.net/cutout-nuxt/enhancer/3.jpg' }
33
32
]
34
33
} ,
35
34
{
36
- id : 2 ,
37
35
name : 'John Doe' ,
38
36
stories : [
39
- { id : 1 , type : 'image' , content : 'https://d38b044pevnwc9.cloudfront.net/cutout-nuxt/enhancer/4.jpg' } ,
40
- { id : 2 , type : 'image' , content : 'https://d38b044pevnwc9.cloudfront.net/cutout-nuxt/enhancer/5.jpg' } ,
41
- { id : 3 , type : 'video' , content : 'https://videos.pexels.com/video-files/28759029/12469290_1920_1080_25fps.mp4' } ,
42
- { id : 4 , type : 'video' , content : 'https://videos.pexels.com/video-files/28985119/12537126_1920_1080_24fps.mp4' } ,
43
- { id : 5 , type : 'video' , content : 'https://videos.pexels.com/video-files/28496760/12399731_1440_2560_30fps.mp4' }
37
+ { type : 'image' , content : 'https://d38b044pevnwc9.cloudfront.net/cutout-nuxt/enhancer/4.jpg' } ,
38
+ { type : 'image' , content : 'https://d38b044pevnwc9.cloudfront.net/cutout-nuxt/enhancer/5.jpg' } ,
39
+ { type : 'video' , content : 'https://videos.pexels.com/video-files/28759029/12469290_1920_1080_25fps.mp4' } ,
40
+ { type : 'video' , content : 'https://videos.pexels.com/video-files/28985119/12537126_1920_1080_24fps.mp4' } ,
41
+ { type : 'video' , content : 'https://videos.pexels.com/video-files/28496760/12399731_1440_2560_30fps.mp4' }
44
42
]
45
43
} ,
46
44
] ;
@@ -54,7 +52,7 @@ export class AppComponent {
54
52
}
55
53
56
54
triggerOnStoryGroupChange ( storyGroup : number ) {
57
- console . log ( 'currentStoryGroupDetails' , storyGroup ) ;
55
+ console . log ( 'currentStoryGroupDetails' , storyGroup ) ;
58
56
}
59
57
60
58
currentStoryDetails ( eventData : object ) {
0 commit comments