Skip to content

Commit

Permalink
beforeAttributeUpdated mutationType documentation fix
Browse files Browse the repository at this point in the history
documentation had updated and removed instead of update and remove.  see bigskysoftware#59
  • Loading branch information
MichaelWest22 authored Jan 31, 2025
1 parent 0a4d0ed commit 98cfcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ of the algorithm.
| afterNodeMorphed(oldNode, newNode) | Called after a node is morphed in the DOM | none |
| beforeNodeRemoved(node) | Called before a node is removed from the DOM | return false to not remove the node |
| afterNodeRemoved(node) | Called after a node is removed from the DOM | none |
| beforeAttributeUpdated(attributeName, node, mutationType) | Called before an attribute on an element. `mutationType` is either "updated" or "removed"| return false to not update or remove the attribute |
| beforeAttributeUpdated(attributeName, node, mutationType) | Called before an attribute on an element. `mutationType` is either "update" or "remove" | return false to not update or remove the attribute |

### The `head` tag

Expand Down

0 comments on commit 98cfcbd

Please sign in to comment.