Skip to content

Instantly share code, notes, and snippets.

"""Autogenerated input type of AcceptTopicSuggestion"""
input AcceptTopicSuggestionInput {
"""The Node ID of the repository."""
repositoryId: ID!
"""The name of the suggested topic."""
name: String!
"""A unique identifier for the client performing the mutation."""
clientMutationId: String
<template>
<div>
<Lottie loop autoplay :data="animationData" :height="400" :width="400"></Lottie>
</div>
</template>
<script>
import Lottie from '@/components/lottie.vue'
import animationData from '@/assets/beating-heart.json'
<template>
<div id="app">
<Lottie ref="lottie" loop autoplay :data="animationData" :height="400" :width="400"></Lottie>
<div>
<p>Speed: x{{speed}}</p>
<input type="range" value="1" min="0" max="3" step="0.5" v-on:change="onSpeedChange" v-model="speed">
</div>
<button v-on:click="stop">stop</button>
<button v-on:click="pause">pause</button>
<template>
<div :style="style" ref="lavContainer"></div>
</template>
<script>
import Vue from 'vue'
let lottieWeb
if (!Vue.prototype.$isServer) {
lottieWeb = require('lottie-web/build/player/lottie_light.js')
}