Page 3 of 4
element.hide(); no longer working
Posted: Sat Apr 19, 2014 7:53 pm
by RobertJay
The code below does not seem to work for me on a vimeo control called vimeo. I've tried all sorts of variations. What does work is a direct event setting the visible property to false. Any suggestions? Thanks.
$(vimeo).hide();
element.hide(); no longer working
Posted: Sat Apr 19, 2014 8:03 pm
by Alena Prykhodko
http://docs.appery.io/documentation/j...
Try this code:
preApperyio('vimeo').hide();/pre
element.hide(); no longer working
Posted: Sat Apr 19, 2014 8:14 pm
by RobertJay
Nope ... that does not seem to work either. In the meantime, I've gotten around my problem by setting properties via the GUI. So no urgency on my account, but if you confirm it's a bug, perhaps you can notify the developers. Thanks.
element.hide(); no longer working
Posted: Sat Apr 19, 2014 8:19 pm
by Alena Prykhodko
How exactly do you run this JS? As it works for me.
element.hide(); no longer working
Posted: Sat Apr 19, 2014 8:37 pm
by RobertJay
As shown below, I call the script as a button-click event. Note that when the alert is uncommented, it does appear. Am I doing something wrong?
http://screencast.com/t/SgFmpmDPVqq
element.hide(); no longer working
Posted: Sat Apr 19, 2014 8:45 pm
by Alena Prykhodko
Do you want to show allert message when the component is hidden?
So, just change lines order:
pre
Apperyio('vimeo').hide();
alert('Hello');/pre
element.hide(); no longer working
Posted: Sat Apr 19, 2014 8:50 pm
by RobertJay
No, I don't want the alert message - I just had it there to show that the event was firing correctly. All I want is to hide the vimeo control, and that does not seem to work using your command.
element.hide(); no longer working
Posted: Sat Apr 19, 2014 8:56 pm
by Alena Prykhodko
Do you have any errors in console?
element.hide(); no longer working
Posted: Sat Apr 19, 2014 9:08 pm
by RobertJay
No, nothing. Very strange.
element.hide(); no longer working
Posted: Sat Apr 19, 2014 9:17 pm
by Igor
Could you post app public link and steps how can we reproduce this?