event.name

Type String
Event urlRequest
Revision Current Public Release (2017.3068)
Keywords urlRequest, name

Overview

The string urlRequest.

Example

local function webListener( event )
    if ( event.name ) then
        print( event.name )
    end
end
 
local webView = native.newWebView( display.contentCenterX, display.contentCenterY, 320, 480 )
webView:request( "http://www.coronalabs.com/" )
 
webView:addEventListener( "urlRequest", webListener )