#289 ✓resolved
MadRabbit

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

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 ยป

RightJS Core Tickets

Shared Ticket Bins

People watching this ticket

Pages