diff --git a/README.md b/README.md index c20db54..521bee7 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ We're living a _declarative renaissance_, that's why we decided to take advantag ### Copy text from another element -A pretty common use case is to copy content from another element. You can do that by adding a `data-target` attribute in your trigger element. +A pretty common use case is to copy content from another element. You can do that by adding a `data-clipboard-target` attribute in your trigger element. The value you include on this attribute needs to match another's element `id` attribute. @@ -63,14 +63,14 @@ The value you include on this attribute needs to match another's element `id` at - ``` ### Cut text from another element -Additionally, you can define a `data-action` attribute to specify if you want to either `copy` or `cut` content. +Additionally, you can define a `data-clipboard-action` attribute to specify if you want to either `copy` or `cut` content. If you omit this attribute, `copy` will be used by default. @@ -81,7 +81,7 @@ If you omit this attribute, `copy` will be used by default. - ``` @@ -90,13 +90,13 @@ As you may expect, the `cut` action only works on `` or `