-
Notifications
You must be signed in to change notification settings - Fork 161
Add the Notification API #148
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
Conversation
|
||
@JSExport | ||
object Notification { | ||
@JSExport |
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.
The Example.scala
is for examples in the Readme. And we want to keep the readme short with only an introduction to scala-js-dom as a whole (not with an example of every possible sub-part of the API). So you should not change Example.scala
. Especially since this example can found on MDN.
I think that's all I have. |
* | ||
* MDN | ||
*/ | ||
var permission: String = js.native |
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.
Which makes me realize this should not be there.
@@ -18,7 +18,7 @@ object NodeAppendChild { | |||
@JSExport | |||
def main(div: html.Div) = { | |||
val child = dom.document | |||
.createElement("div") | |||
.createElement("div") |
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.
Please revert all the changes to Example.scala
. It should not be touched by this PR.
That's all. |
add onclick event to Notification Options
doh! .. thought I reverted example back to the original state. What am I missing to get it back there? |
Superseded by #152 |
No description provided.