Private dom-wrappers
Reported by MadRabbit | July 23rd, 2010 @ 08:12 PM | in 2.0.0 Release
Would be nice to have an ability to wrap dom-elements with some local temporary wrappers, kinda like that
var MyElement = new RightJS.Wrapper(RightJS.Element, {
initialize: function() {
// something in here
}
myMethod: function() {
// something in here
}
});
var el1 = new MyElement('div', {boo: 'hoo'});
var el2 = new MyElement('div', {boo: 'hoo'});
var el3 = new MyElement('div', {boo: 'hoo'});
Make also sure that hose wrappers don't get swapped with registered wrappers by the element tag-name
Comments and changes to this ticket
-
MadRabbit August 4th, 2010 @ 10:48 AM
- State changed from new to resolved
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.