File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ or even
102102
103103There is no real difference between them. The choice is up to you.
104104
105+ * Note: For Laravel 5.0.0 - 5.1.3 you have to use ` {!! !!} ` tags instead of ` {{ }} ` *
106+
105107## Passing variables to widget
106108
107109### Via config array
@@ -128,7 +130,7 @@ class RecentNews extends AbstractWidget {
128130```
129131` ['count' => 10] ` is a config array that can be accessed by $this->config.
130132
131- Note: Config fields that are not specified when you call the widget aren't overwritten:
133+ * Note: Config fields that are not specified when you call the widget aren't overwritten:*
132134
133135``` php
134136class RecentNews extends AbstractWidget {
@@ -190,8 +192,6 @@ You can pass FQCN too.
190192{{ Widget::run('\App\Http\Some\Namespace\Widget', $config) }}
191193```
192194
193- * Note: For Laravel 5.0.0 - 5.1.3 you must use ` {!! !!} ` tags instead of ` {{ }} ` *
194-
195195## Asynchronous widgets
196196
197197In some situations it can be very beneficial to load widget content with AJAX.
You can’t perform that action at this time.
0 commit comments