ux.ManagedIframePanelThis component extends the existing Ext.Panel with the logic necessary to manage a single ManagedIFrame instance embedded in the Panels' body element.
ManagedIframePanel Config Options
ManagedIframePanel:autoLoad
ManagedIframePanel:defaultSrc
ManagedIframePanel:disableMessaging
ManagedIframePanel:eventsFollowFrameLinks
ManagedIframePanel:fitToParent
ManagedIframePanel:frameConfig
ManagedIframePanel:frameStyle
ManagedIframePanel:html
ManagedIframePanel:loadMask
ManagedIframePanel:listeners
ManagedIframePanel:showLoadIndicator
ManagedIframePanel:unsupportedText
ManagedIframePanel Methods
ManagedIframePanel:getUpdaterAs in a standard [2.0] Ext.Panel, use the getUpdater method to retrieve the UpdateManager instance for the ManagedIFrame embedded in the Panels' body for updating. Overwrites the current embedded document structure with a new one using UpdateManager. (Ext.UpdateManager compatible)
Syntax:
getUpdater().update( content [, loadScripts] [, callbackFn ] )
Parameter Description:
Possible events raised:
Example:
mifpanel.getUpdater().update("<div> Test content </div>", false, updCallBackFn);
Alternately, you could achieve the same by referencing the embedded frame directly:
mifpanel.getFrame().update( "<div> Test content </div>", false, updCallBackFn );
ManagedIframePanel:getFrameReturns the ManagedIFrame Component embedded in the Panels body element.
Syntax:
getFrame()
ManagedIframePanel:getFrameDocumentReturns the document object of the panels embedded frame, or null of not available.
Syntax:
getFrameDocument()
ManagedIframePanel:getFrameWindowReturns the Window object of the embedded frame, or null of not available.
Syntax:
getFrameWindow()
ManagedIframePanel:sendMessageSends a message to the Window context of the components' managed IFRAME. (for implementation details, see Cross-frame messaging with ManagedIFrame)
Syntax:
sendMessage( message [, tag] [, origin ] )
Parameter Description:
Possible events raised:
Example:
ManagedIframePanel:showDragMask[deprecated 1.1, see ManagedIframe.Manager.showShims/hideShims] This method activates a custom masking IMG used to aid in drag operations which might "transit" the embedded frame. Note: calling the showShims method of ManagedIframe.Manager masks ALL ManagedIframes in use on the page.
Syntax:
Ext.ux.ManagedIframe.Manager.showShims() Ext.ux.ManagedIframe.Manager.hideShims()
Parameter Description: None
ManagedIframePanel:hideDragMask[deprecated 1.1, see ManagedIframe.Manager.showShims/hideShims above] This method de-activates ALL frame dragMasks enabled by the :showDragMask method.
Syntax:
hideDragMask()
Parameter Description: None
ManagedIframePanel:toggleShimToggles visibility of the transparent shimming agent used to mask the frame during dragging or other operations.
Syntax:
toggleShim()
Parameter Description: None
Component Properties