Ext


Go Back   Ext JS Forums > Ext JS Premium Forums > Ext: Feature Requests

Reply
 
Thread Tools
  #1  
Old 11-06-2009, 04:16 PM
crp_spaeth crp_spaeth is offline
Ext JS Premium Member
 
Join Date: Dec 2008
Location: Mainz
Posts: 190
crp_spaeth is on a distinguished road
Default Add a "flattenElement" Function in Ext.Element

While reading the sourcecode of the new Google API Closure I found a few nice Additions that may could find there way into the Extjs lib.

One Thing I needed a while ago was the posibility to "unwrap" an Element i previosly wrapped with the wrap function of Ext.Element. Correct me if I am wrong but it not part of Ext.Element yet.

I moved the wrapped elemen one element up the tree and destroyed the wrap element.

This function is part of the goog closure api.

They call it flattenElement.

The Implementation can be found here:

http://closure-library.googlecode.co...e.html#line897
Reply With Quote
Reply

Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 11:21 PM.

© 2006-2009 Ext, LLC
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.