Skip to content

Commit

Permalink
Merge pull request #110 from AndyObtiva/master
Browse files Browse the repository at this point in the history
Add Element#replace_all & Element#replace_with
  • Loading branch information
elia authored Jul 5, 2020
2 parents e1a51a5 + ff5a863 commit a682373
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/opal/jquery/element.rb
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,12 @@ def prop(*args)
# @!method remove_class(class_name)
alias_native :remove_class, :removeClass

# @!method replace_all(target)
alias_native :replace_all, :replaceAll

# @!method replace_with(new_content)
alias_native :replace_with, :replaceWith

# @!method submit()
alias_native :submit

Expand Down

0 comments on commit a682373

Please sign in to comment.