mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
The ability to attach attrs
when embedding widgets
This commit is contained in:
@ -188,7 +188,7 @@ widgetTest('widget attaching', {
|
||||
|
||||
createWidget('attach-test', {
|
||||
tagName: 'div.container',
|
||||
template: hbs`{{attach widget="test-embedded"}}`
|
||||
template: hbs`{{attach widget="test-embedded" attrs=attrs}}`
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user