mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:33:24 +02:00
Add sample of openBrowser() usage. Unfortunately it doesn't work because the radio buttons are acting weird.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
module.exports = function NavigationCtrl($scope) {
|
||||
|
||||
$scope.activeBrowser = null
|
||||
|
||||
$scope.openURL = function() {
|
||||
return $scope.control.openBrowser(
|
||||
$scope.textURL
|
||||
, $scope.activeBrowser
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user