android-components / mozilla.components.browser.toolbar / BrowserToolbar / onUrlClicked

onUrlClicked

var onUrlClicked: () -> Boolean (source)

Sets a lambda that will be invoked whenever the URL in display mode was clicked. Only if this lambda returns true the toolbar will switch to editing mode. Return false to not switch to editing mode and handle the click manually.