Coder Social home page Coder Social logo

Comments (4)

AmazingJaze avatar AmazingJaze commented on September 25, 2024

Thanks for the bug. Can you tell us which version of WinJS you are using? The angular-winjs project is currently configured for the WinJS 4.0 preview snapshot of WinJS.

There have recently been some breaking API changes to Splitview, AppBar, ToolBar, and NavBar in the WinJS master branch that have not yet propagated into angular-winjs or the samples at try.buildwinjs.com.

The majority of incoming API changes involve updating the nomenclature away from "shown" and "hidden" to "opened" and "closed" in order to more accurately match the functionality of these control as their design has changed over time.
https://github.com/winjs/winjs/blob/master/src/js/WinJS/Controls/SplitView/_SplitView.ts#L76-L94

from angular-winjs.

kollster avatar kollster commented on September 25, 2024

I am using the bower package winjs#release/4.0.0-preview as mentioned on http://try.buildwinjs.com/#get:preview . Is there any workaround or should we wait for angular-winjs to get updated?

from angular-winjs.

rigdern avatar rigdern commented on September 25, 2024

winjs#release/4.0.0-preview and the current angular-winjs release work together.

I believe the problem with your snippet is that the usages of inline need to be quoted so that they are treated as strings. Like this:

<win-split-view pane-hidden="false" shown-display-mode="'inline'" hidden-display-mode="'inline'">

Notice the extra single quotes around inline.

Let us know if that helps.

from angular-winjs.

kollster avatar kollster commented on September 25, 2024

Thanks for the help. I missed the extra single quotes - after adding them, it works as expected. It would be nice though, if an error was thrown when trying to set an invalid value, instead of failing silently.

from angular-winjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.