MP
const { data } = await query<
GetEpisodes,
GetEpisodesVariables
>({
query: GET_EPISODES,
variables: {
page,
},
});
Size: a a a
MP
const { data } = await query<
GetEpisodes,
GetEpisodesVariables
>({
query: GET_EPISODES,
variables: {
page,
},
});
MP
MP
АА
MP
ngOnInit() {
this.querySubscription = this.apollo
.watchQuery({
query: GET_EPISODES,
variables: {
page: 1,
},
})
.valueChanges.subscribe(({data}) => {
this.episodes = data.results;
});
}
ngOnDestroy() {
this.querySubscription.unsubscribe();
}
MP
R
M
D
R
АL
AM
AM
DT
И
[style.transform]="'translate(calc(22% - 10px), 5px)'"
И
[style.transform]="'translate(calc(' + percent + '% - 10px), 5px)'"
BB
M
BB