Page 1 of 1

document.onselectionchange

Posted: Mon Mar 02, 2015 12:41 pm
by EJLD

Hi There,
I'm using the listener

document.onselectionchange

I placed it in a HTML component to be used for this page only but it listens on other pages of the app too.

any way to restrict the coverage of that listener to that particular page only ? or even the HTML component only ?

thk you very much in advance,
Eric


document.onselectionchange

Posted: Mon Mar 02, 2015 1:08 pm
by Louis

Do you have render all pages in one html file enabled?


document.onselectionchange

Posted: Mon Mar 02, 2015 1:22 pm
by EJLD

Hi Louis, thks for your kind attn. Not sure Appery.io's DOM structure works same and can be so customized. If it's possible, don't know how to set it up. Need more hint. Thks anyway


document.onselectionchange

Posted: Sat Jun 27, 2015 7:59 am
by EJLD

Hi There, I hv got a new issue with this one.
when making a single-word selection, onselectionchange gets that word perfect.
however, when selecting a string made of several words, nothing is selected.
has anybody ever faced this issue and found a way to solve it ?
thks in advance,
Eric


document.onselectionchange

Posted: Sun Jun 28, 2015 5:29 am
by EJLD

I found how to bypass that issue :)


document.onselectionchange

Posted: Sun Jun 28, 2015 1:11 pm
by Serhii Kulibaba

If there is any way that we may be of assistance to you, please let us know.