Skip to content

Releases: pixelbyaj/sitePage

Minor bugs fixed

03 Apr 10:27
Compare
Choose a tag to compare

Issue regarding hamburger has been resolved
#13

New Release with Page Indicator

02 Apr 12:38
3314ac7
Compare
Choose a tag to compare

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

06 Jan 19:57
1c287f2
Compare
Choose a tag to compare
  • sitePage.js will be GPL licensed
  • Transition was slow. The issue is fixed

Brand Name is now independent

05 Jan 17:29
cecb6ea
Compare
Choose a tag to compare

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

19 Oct 11:20
89f54d3
Compare
Choose a tag to compare

3.0.1 released with minor css bugs fixes

Version 3.0.0 release with bugs fixes and releasing new Public APIs

31 May 13:48
e40e41f
Compare
Choose a tag to compare

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

25 Feb 15:10
36a3297
Compare
Choose a tag to compare

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

25 Feb 17:36
Compare
Choose a tag to compare
Bug Fix Pre-release
Pre-release

Bug Fix

  1. Hamburger menu Background color height issue on resize fix

Minor Bug Resolve

25 Feb 16:12
Compare
Choose a tag to compare
Minor Bug Resolve Pre-release
Pre-release

Bug Resolve

  1. Bug - Menu toggle when sameurl was false (Resolved)

sitePage.js v2.0.1

19 Feb 03:31
Compare
Choose a tag to compare

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.

2. User can add menu id using menuId property.

3. User can add multiple classes for their anchor links. using anchorClass property.

4. User can add multiple classes on their sections using sectionClass property under sections.