Skip to content

E207 - Duplicate element name

Cause

Two elements in the same slide share the same name:. Element names are used as CSS handles and animation targets and must be unique within a slide.

Example

{ title: "T", elements: [
  { name: "bg", html: "<div/>", position: [0, 0], width: 100, height: 100 },
  { name: "bg", html: "<div/>", position: [0, 50], width: 100, height: 50 }
]}

How to fix

Rename one (or both) of the duplicate names. Names are optional — if you don't need to refer to an element by name, omit name: entirely.