datacamp / datacamp-light

Convert any blog or website to an interactive learning platform for data science
GNU Affero General Public License v3.0
1.31k stars 358 forks source link

DCL.instances only takes html "id" attribute. #179

Open WeatherAnchor opened 4 years ago

WeatherAnchor commented 4 years ago

Is there any way to get it working by taking the html by class? DCL.instances["html_id"].on("feedback", function(payload) I want to do something like this: DCL.instances["html_class"].on("feedback", function(payload)