data-design-type
attribute on the button
element tells Canva that clicking the Button should create a new design.data-design-type
attribute determines the design type of the created design. The design type determines:button
element has a data-design-type
attribute, it must not have a data-design-id
attribute. The attributes are mutually exclusive.