Module-documentation

version 1.0.0
module: window-ext version 0.0.1
size-min gzipped: 2.75 kb (incl. dependencies: kb)
dependencies: -
maintanance: Marco Asbreuk
home


all modules

Window extended

Provides several sugar-methods to handle size and positioning of the window

Getting Started

With nodejs:

Create your project using this package.json. After downloaded, run npm install and start writing your application:

var ITSA = require('itsa');

In the browser:

For browser-usage, ITSA has a predefined loaderfiles. Once included, a global ITSA object with default features is available. For customized loaderfiles, read: Customized build.

<script src="/itsabuild-min.js"></script>
<script>
    
</script>

The Basics

Extended window

getScrollLeft()

Gets the left-scroll offset of the window.

getScrollTop()

Gets the top-scroll offset of the window.

getWidth()

Gets the width of the window.

getHeight()

Gets the height of the window.

API Docs