Hello,
I have a component to render ads in my discourse {{numeramaAdsBlock "side_ad"}}
and i want to render this component inside the sticky sidebar in a topic. So i use decorateWidget to add my component inside the widget “topic-timeline-container”
export default {
name: 'sidebar-topic',
initialize(container) {
withPluginApi('0.2', api => {
api.decorateWidget('topic-timeline-container:before', dec => {
// rendering my component with params
});
});
},
};
How can i render my component with the params ? Thanks.
Edit : Up ?