Skip to content
Discussion options

You must be logged in to vote

Hi @marcopiii
Currently there is no way to pass any additional props to the canvas element.
To change it's styling (which isn't recommended as it may break some user interactions, eg. on click actions defined inside Adobe Animate editor) I'd suggest to create a css class and in it define the styling for canvas.

.your-class-name > canvas {
  outline: 2px solid green;
}
<AnimateCC
  animationName="lishtml5"
  composition="C1475B64B160904BB90B34246A5FF54B"
  paused={paused}
  className="your-class-name"
/>

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by marcopiii
Comment options

You must be logged in to vote
1 reply
@bibixx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants