We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9498a91 commit 062730dCopy full SHA for 062730d
lib/cortex/snippets/webpage.rb
@@ -67,6 +67,14 @@ def tables_widget_data_for(section_name)
67
tables_widget_data&.[](section_name) || []
68
end
69
70
+ def carousels_widget_data
71
+ JSON.parse(@webpage[:carousels_widget_json] || 'null', quirks_mode: true)
72
+ end
73
+
74
+ def carousels_widget_data_for(section_name)
75
+ carousels_widget_data&.[](section_name)
76
77
78
def accordion_group_widget_data
79
JSON.parse(@webpage[:accordion_group_widget_json] || 'null', quirks_mode: true)
80
0 commit comments