-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dispatch stamped
event as Juicy/juicy-html does
#32
Conversation
README.md
Outdated
@@ -114,6 +114,7 @@ To provide a state before element is upgraded, please use attributes. | |||
|
|||
Name | Detail | Description | |||
--- | --- | --- | |||
`stamped` | *Array* of *Node* s array of stamped nodes | Trigger every time content is (re-)stamped |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldnt' detail be *Array* of *Node* s
like in juicy-html
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get it. It is "Array of Nodes".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah! So you want to remove "array of stamped nodes"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, or move the description of the detail to the description column
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I gave it a second thought, I would say we need two descriptions: one to describe when the event is fired, another to describe the detail contents.
What about:
Name | Detail | When |
---|---|---|
stamped |
Array of stamped Node s | Every time content is (re-)stamped |
or
Name | When | Detail |
---|---|---|
stamped |
Every time content is (re-)stamped | Array(Node) - stamped nodes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
80eaeec looks good to me
Setting as “Finished” because it is:
|
We need tests for this, but they should be added in
juicy-html
repo first Juicy/juicy-html#33