The Feature I Desire:
I am looking to add a button on a closed splitView
that triggers the .openPane()
function.
My Attempts So Far:
After consulting this MSDN documentation, it was suggested that the SplitView
should have a method called showPane()
. Referencing a codepen example, I tried using WinJS.Namespace.define()
and setting a random variable with splitView: null
but encountered an issue where it did not recognize the openPane()
as a valid method or property. By inspecting the code generated by Visual Studio 2015, I attempted to call
window.mySpitView.splitView.openPane()
only for it to complain about splitView
being set to null
. Additionally, I explored doing WinJS.UI.SplitView.openPane()
which similarly threw an error stating that .openPane()
is not a supported property or method.
Currently, my development environment consists of Visual Studio 2015 and WinJS 4.X (freshly installed from NuGet repository).