Re: Presentation API changes proposal

Hi Louay,

On 08 Jan 2014, at 13:26, Bassbouss, Louay <louay.bassbouss@fokus.fraunhofer.de> wrote:

> Dear Anton, Kostiainen,
>  
> I also like the proposal of Anton.   We have also a proposal I merged it in the spec propose by Anton:
>  
> Promise requestShow(optional DOMString url = "about:blank" | DOMElement elem, optional boolean infinitePlay = false);
>  
> In case the first parameter is a DOM Element, The DOM Subtree starting by this element will be displayed on the second screen. Any manipulation  in the DOM subtree on the original document (first screen device) results in updating the copy on the second screen (MutationObservers[1] is one possible way to observe changes). Updates can be sent for example over a RPCDataChannel.

Thanks for your proposal. Do you have a use case in mind that requires displaying a subtree of the DOM on the second screen?

Thanks,

-Anssi

> [1] http://www.w3.org/TR/dom/#mutation-observers

Received on Wednesday, 8 January 2014 13:09:38 UTC