feat(windows): initial add of windows mode

basically a copy of md for now

references #5565
This commit is contained in:
Brandy Carney
2016-02-22 20:35:55 -05:00
parent 1495a1353e
commit a9c995d07d
14 changed files with 581 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ function setupDom(window, document, config, platform, clickBlock, featureDetect)
}
// set the mode class name
// ios/md
// ios/md/wp
bodyEle.classList.add(mode);
// language and direction

View File

@@ -57,3 +57,33 @@ Config.setModeConfig('md', {
tabSubPages: true,
});
// Windows Mode Settings
Config.setModeConfig('wp', {
activator: 'highlight',
actionSheetEnter: 'action-sheet-md-slide-in',
actionSheetLeave: 'action-sheet-md-slide-out',
alertEnter: 'alert-md-pop-in',
alertLeave: 'alert-md-pop-out',
backButtonText: '',
backButtonIcon: 'md-arrow-back',
iconMode: 'md',
menuType: 'overlay',
modalEnter: 'modal-md-slide-in',
modalLeave: 'modal-md-slide-out',
pageTransition: 'md-transition',
pageTransitionDelay: 96,
tabbarHighlight: true,
tabbarPlacement: 'top',
tabSubPages: true,
});