Skip to content

2.6.0

Compare
Choose a tag to compare
@arturokunder arturokunder released this 27 Dec 14:12
· 15 commits to master since this release

Description

  • New feature close webview with params
  • Fixes to readme

Feature close with params

Added params for Close method. The second webview can send parameters to the main webview on close.
Usage:

// Second webview
webview.Close(success, error, params)

To receive this parameters, use webview.SubscribeCallback(success, error). Parameters will be passed along the success callback.

// Main webview
// This will be fired on second webview close
webview.SubscribeCallback(function(params) { console.log(params); }, function(){ console.log('error'); })

Breaking Changes

No breaking changes on this release.

Changelog

863478d - version bump 2.6.0
aad2154 - updated readme
50e4d9a - readme updated
2576dba - moving the new parameter of hide to the end to avoid making a breaking change
8c4b0d6 - changed the header of the readme
f272b3d - added new functionality to documentation
014425c - corrected a parameter that was not necessarely static
0e03fe1 - Added support for sending params when webview is closed
83ffc54 - Update README.md
9a8595d - Fixes spelling mistake.