Releases: pixelbyaj/sitePage
Minor bugs fixed
New Release with Page Indicator
Version 3.1.0 has been release with Page Indicator option.
pageIndicator:true,//true|false; Default is true
License Update to GPL! And transition issue fixed
- sitePage.js will be GPL licensed
- Transition was slow. The issue is fixed
Brand Name is now independent
With this release brandName can be independent of anchors and hamburger
for e.g.,
- you can set anchors:false and hamburger:false and still keep brandName. In earlier verison anchors or hamburger is compulsory to show brandName.
3.0.1 released
3.0.1 released with minor css bugs fixes
Version 3.0.0 release with bugs fixes and releasing new Public APIs
Public API has been added
With this release we introduced new public API has been exposed to have more control on sitepage.js
- gotoPage(pageId: string);
- navigateToNextPage();
- navigateToPrevPage();
- getMenuItems();
- getActiveSection();
//for example
var sitePage = new SitePage(id,options);
sitePage.api.gotoPage('page3');
sitePage.api.navigateToNextPage();
sitePage.api.navigateToPrevPage();
sitePage.api.getMenuItems();
sitePage.api.getActivePage();
templateId property has been added to Sections property
Section property will have templateId property
sections: [{
active:true,//set active|false
anchor: "string",//link name
templateId:"string"//Id of the template element which to be render
templateUrl: "stringUrl",//use template or templateUrl
template:"string",//use template or templateUrl
backgroundColor: "string",
verticalAlignMiddle:boolean,//By default it would be false, true|false
sectionClass:"class1,class2"//comma separated string or string array class to be apply on sections
anchorClass:"class1,class2"//comma separated string or string array class to be apply on sections
}
]
User can now create template in html and pass its id in section to get it render.
HamBurger would be default menu now
hamburger: true | {
lineColor: "",//line color of hamburger
backgroundColor: "",//background color when hamburger open,
closeOnNavigation:true//default true
}
Hamburger menu release with 2.0.2
HamBurger Menu Added
Options
New Options bamburger property has been added
hamburger: {
lineColor: "",//line color of hamburger
backgroundColor: "",//background color when hamburger open,
closeOnNavigation:true//default true
},
Bug Fix
Bug Fix
- Hamburger menu Background color height issue on resize fix
Minor Bug Resolve
Bug Resolve
- Bug - Menu toggle when sameurl was false (Resolved)
sitePage.js v2.0.1
Features Added
1. verticalAlignMiddle property and feature has been added.
- verticalAlignMiddle would be enabled by default.
- If user want to disable for particular section, they can do it by defining verticalAlignMiddle for section as false.
- If user want to disable for all the sections, they can do it by defining verticalAlignMiddle as false in top.