7.2.0 • Published 2 years ago

core-layout v7.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years ago

core-layout

A responsive AngularJS layout component for a simple, yet not completely trivial, Web-app layout that works well on both small (mobile) and larger screens. An important feature is its use of iScroll 5.x, through angular-iscroll, to support fixed-position headers and footers without using the CSS position: fixed formatting instruction which is not well supported on older Android (<= 4.1.2 ?) and iOS (<= 8.x) versions.

Install

Install the core-layout NPM package

# With NPM:
npm install --save core-layout
# With Yarn, which I prefer:
yarn add core-layout

Or, to check out a development version, start by cloning the repository, by

git clone git@github.com:mtr/core-layout.git

Then, install the necessary dependencies:

cd core-layout/
yarn install    # Or: npm install

After that, you should have a dist directory with a subdirectory named lib:

dist/
├── lib
│   └── core-layout.js
└── scss
    ├── _core-drawers.scss
    ├── _core-modal.scss
    ├── _core-responsive.scss
    ├── _core.scss
    └── _core-variables.scss

Build

To rebuild the library, run

yarn build         # Or `yarn watch` (to rebuild on every file change).

To build the examples, run

yarn build-examples  # Or, `npm run-script build-examples`.

Demo

You may have a look at an Angular demo app that shows how you can use this core-layout module.

Building the Demo (examples/)

Please note that if you don't plan on changing the demo and testing new stuff, there's no need to compile it yourself; you can just visit the demo app.

7.2.0

2 years ago

7.0.0

4 years ago

7.0.1

4 years ago

6.3.2

6 years ago

6.3.1

6 years ago

6.2.1

7 years ago

6.2.0

7 years ago

5.5.2

9 years ago

5.5.1

9 years ago

5.5.0

9 years ago

5.4.1

9 years ago

5.4.0

9 years ago

5.3.0

9 years ago

5.0.0

9 years ago

4.4.0

10 years ago

4.3.1

10 years ago

4.3.0

10 years ago

4.2.1

10 years ago

4.2.0

10 years ago

4.1.1

10 years ago

4.1.0

10 years ago

4.0.2

10 years ago

4.0.1

10 years ago

4.0.0

10 years ago

1.3.8

10 years ago

1.3.4

10 years ago

1.3.3

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.2

10 years ago