W3C home > Mailing lists > Public > public-secondscreen@w3.org > November 2015

Re: [presentation-api] Add a PresentationConnection.disconnected state for accidental disconnections

From: Mounir Lamouri via GitHub <sysbot+gh@w3.org>
Date: Sat, 07 Nov 2015 12:00:05 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-154695018-1446897604-sysbot+gh@w3.org>
Wouldn't that be better to create a 
`PresentationConnectionStateChangeEvent` that would be use when firing
 a `statechange` event instead of firing a `simple event`? We could 
add some property there. For example `userInitiated`. It sounds 
cleaner than creating a new concept (`disconnected`) that wouldn't 
really mean what it says -- If I understand correctly, `disconnected` 
isn't really that the connection is disconnected but that it was 
`closed` without user intervention.

GitHub Notif of comment by mounirlamouri
Received on Saturday, 7 November 2015 12:00:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:18:59 UTC