What is the correct JS method for disabling scanner or imager? It seems trhat this current build it went from imager.disabled to imager.disable? Did this just change?
object.disable or object.disabled? which is it |
object.disable or object.disabled? which is itWhat is the correct JS method for disabling scanner or imager? It seems trhat this current build it went from imager.disabled to imager.disable? Did this just change? |
Subscribe to email updates
Monthly updates from our Zebra development team, straight to your inbox.
2 Replies
Thanks Dan, yes, that's right, we changed it to .disable() in the latest release. This affects the imager, scanner and stylus modules. Moving forward all similar methods will be enable() and disable() whereas all properties will be 'enabled' and 'disabled'. Note that code written for PocketBrowser will still be compatible in Neon, i.e. will still work. We are currently working on some backwards compatibility issues enabling / disabling the scanner decoders but these will be resolved by the official release. Darryn.
Rob, It was mentioned in the beta trainig that the intention was to change that to Disable. It does look like they did that in this release. It was also mentioned that the help file will always be right, and sure enough, the help file does show "disable"