Skip to main content
Answered

What's the difference between a card and a canvas?

  • September 9, 2020
  • 1 reply
  • 15 views

Forum|alt.badge.img

I'm building an app using the Canvas Kit. What's the difference between a card and a canvas?

Best answer by Eric Fitz

The main difference here is that a card is an instance of a Messenger App that loads into each user’s specific Messenger instance.

 

The canvas is the object that contains the components that make up the Messenger App. The canvas can be iterated on within the same card instance multiple times, while the card itself never actually changes.

View original
Did this topic help you find an answer to your question?

1 reply

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • September 9, 2020

The main difference here is that a card is an instance of a Messenger App that loads into each user’s specific Messenger instance.

 

The canvas is the object that contains the components that make up the Messenger App. The canvas can be iterated on within the same card instance multiple times, while the card itself never actually changes.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings