Hacker News new | ask | show | jobs
by lexy0202 4996 days ago
Can you interact with the dom inside opal?
1 comments

Seems so: > Document['.post .title'].html = @post[:title] Document['.post .body'].html = @post[:body] Document['.post .comments'].html = comments_html

From https://github.com/opal/opal-rails#readme