techvalidate / pano

MIT License
0 stars 0 forks source link

SOLN-12026: Added header options class to small_card function #175

Closed mariela-hdz closed 5 years ago

mariela-hdz commented 5 years ago

Before, calling "small_card" function wouldn't add "data controller" to "options"

Made changes to this pano file because some engage files called the pano/small_card function

suzukia commented 5 years ago

Before, calling "small_card" function wouldn't add "data controller" to "options"

  • I created a header_options variable that would wrap all individual header_options into a "general" class called header_options
  • Every other option not classified as header_options would be kept as part of card_options
  • This resulted in "data controller" being added to "options"

Made changes to this pano file because some engage files called the pano/small_card function

The first line in the description is a little inaccurate -- anything passed into small_card was added to options. So data controller was included in options, but options used to be applied to the small card header and not the small card itself.