2 ms·
Can you interact with the dom inside opal?
by lexy0202 14y ago
Can you interact with the dom inside opal?
- marcamillion 14y agoSeems 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 https://github.com/opal/opal-rails#readme