MCPcopy
hub / github.com/apache/echarts / isAnimationEnabled

Method isAnimationEnabled

src/model/Model.ts:205–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203
204 // FIXME:TS check whether put this method here
205 isAnimationEnabled(): boolean {
206 if (!env.node && this.option) {
207 if ((this.option as AnimationOptionMixin).animation != null) {
208 return !!(this.option as AnimationOptionMixin).animation;
209 }
210 else if (this.parentModel) {
211 return this.parentModel.isAnimationEnabled();
212 }
213 }
214 }
215
216 private _doGet(pathArr: readonly string[], parentModel?: Model<Dictionary<any>>) {
217 let obj = this.option;

Callers 6

processLabelsOverallMethod · 0.45
applyKeyframeAnimationFunction · 0.45
getAnimationConfigFunction · 0.45
transitionBetweenFunction · 0.45
applyUpdateTransitionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected