{"action":"created","issue":{"url":"https://api.github.com/repos/winjs/angular-winjs/issues/15","labels_url":"https://api.github.com/repos/winjs/angular-winjs/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/winjs/angular-winjs/issues/15/comments","events_url":"https://api.github.com/repos/winjs/angular-winjs/issues/15/events","html_url":"https://github.com/winjs/angular-winjs/issues/15","id":65053486,"number":15,"title":"SplitView: shownDisplayMode and hiddenDisplayMode doesn't work","user":{"login":"kollster","id":3436707,"avatar_url":"https://avatars.githubusercontent.com/u/3436707?v=3","gravatar_id":"","url":"https://api.github.com/users/kollster","html_url":"https://github.com/kollster","followers_url":"https://api.github.com/users/kollster/followers","following_url":"https://api.github.com/users/kollster/following{/other_user}","gists_url":"https://api.github.com/users/kollster/gists{/gist_id}","starred_url":"https://api.github.com/users/kollster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kollster/subscriptions","organizations_url":"https://api.github.com/users/kollster/orgs","repos_url":"https://api.github.com/users/kollster/repos","events_url":"https://api.github.com/users/kollster/events{/privacy}","received_events_url":"https://api.github.com/users/kollster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-29T11:47:07Z","updated_at":"2015-03-31T00:13:42Z","closed_at":null,"body":"It seems that you cannot set the properties shownDisplayMode and hiddenDisplayMode in the html markup of the SplpitView directive. The two properties should map to the html attributes shown-display-mode and hidden-display-mode, but the properties are not set.\r\n\r\nIn the code example below, one would expect that shownDisplayMode would be set to \"inline\" and hiddenDisplayMode to \"inline\", but that is not the case - the properties are left with their default values.\r\n\r\n```html\r\n<win-split-view pane-hidden=\"false\" shown-display-mode=\"inline\" hidden-display-mode=\"inline\">\r\n    <win-split-view-pane>SplitView Navigation Pane</win-split-view-pane>\r\n    <win-split-view-content>\r\n        SplitView Content Area\r\n    </win-split-view-content>\r\n</win-split-view>\r\n```"},"comment":{"url":"https://api.github.com/repos/winjs/angular-winjs/issues/comments/87881854","html_url":"https://github.com/winjs/angular-winjs/issues/15#issuecomment-87881854","issue_url":"https://api.github.com/repos/winjs/angular-winjs/issues/15","id":87881854,"user":{"login":"rigdern","id":199935,"avatar_url":"https://avatars.githubusercontent.com/u/199935?v=3","gravatar_id":"","url":"https://api.github.com/users/rigdern","html_url":"https://github.com/rigdern","followers_url":"https://api.github.com/users/rigdern/followers","following_url":"https://api.github.com/users/rigdern/following{/other_user}","gists_url":"https://api.github.com/users/rigdern/gists{/gist_id}","starred_url":"https://api.github.com/users/rigdern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigdern/subscriptions","organizations_url":"https://api.github.com/users/rigdern/orgs","repos_url":"https://api.github.com/users/rigdern/repos","events_url":"https://api.github.com/users/rigdern/events{/privacy}","received_events_url":"https://api.github.com/users/rigdern/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T00:13:42Z","updated_at":"2015-03-31T00:13:42Z","body":"`winjs#release/4.0.0-preview` and the current `angular-winjs` release work together.\r\n\r\nI 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:\r\n\r\n```html\r\n<win-split-view pane-hidden=\"false\" shown-display-mode=\"'inline'\" hidden-display-mode=\"'inline'\">\r\n```\r\n\r\nNotice the extra single quotes around `inline`.\r\n\r\nLet us know if that helps."}}