Here’s a fiddle trying to set pointer-events in various ways. Only one (with 
dot notation) works:
https://jsfiddle.net/Harbs/9c8zezx5/ <https://jsfiddle.net/Harbs/9c8zezx5/>

> On Jul 13, 2017, at 5:51 PM, Harbs <harbs.li...@gmail.com> wrote:
> 
> More information here:
> https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Properties_Reference 
> <https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Properties_Reference>
> 
>> On Jul 13, 2017, at 4:48 PM, Harbs <harbs.li...@gmail.com 
>> <mailto:harbs.li...@gmail.com>> wrote:
>> 
>> When specifying css via javascript, the naming is different than specifying 
>> using CSS files.
>> 
>> I’d be *very* surprised if the code works as-is.
>> 
>>> On Jul 13, 2017, at 3:23 PM, Justin Mclean <jus...@classsoftware.com 
>>> <mailto:jus...@classsoftware.com>> wrote:
>>> 
>>> Hi
>>> 
>>>>> +                 positioner.style["pointer-events"] = "none”;
>>>> 
>>>> I think that should be positioner.style["pointerEvents"] = "none”;
>>> 
>>> The style is "pointer-events" [1] so I’m not sure why you would use 
>>> "pointerEvents”. I’ve tested ""pointer-events” and it works.
>>> 
>>> Thanks,
>>> Justin
>>> 
>>> 
>>> 1. https://developer.mozilla.org/en/docs/Web/CSS/pointer-events 
>>> <https://developer.mozilla.org/en/docs/Web/CSS/pointer-events>
>> 
> 

Reply via email to