#2 new
dhtmlkitchen (at gmail)

Create new package, dom.style

Reported by dhtmlkitchen (at gmail) | March 18th, 2009 @ 11:12 PM

There are various functions in style-f that got broken into new files:-

style-f.js - the original now contains "getStyle" function getCascadedStyle.js getContainingBlock.js getPixelCoords.js

These files can be more easily understood if they are moved under one package, dom.style.

The syntax would look like:- APE.dom.style.getStyle(el, "position"); APE.dom.style.getContainingBlock(el); APE.dom.style.getCascadedStyle(el, "backgroundColor"); APE.dom.getPixelCoords(el);

These files can be moved to a new directory, /dom/style/, and should each contain a namespace declaration:-

APE.namespace("APE.dom.style");

Internal dependencies (references to these functions within APE) will need to be updated.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Minimal javascript library.

People watching this ticket

Pages