Package | org.spicefactory.parsley.flex.tag.view |
Class | public class ConfigureTag |
Inheritance | ConfigureTag ConfigurationTagBase flash.events.EventDispatcher |
Default MXML Propertytargets
Property | Defined By | ||
---|---|---|---|
autoremove : Boolean [write-only]
Indicates whether the target should be removed when the view is removed
from the stage. | ConfigureTag | ||
configId : String
The id to use to lookup a matching configuration in the container. | ConfigureTag | ||
reuse : Boolean [write-only]
Indicates whether the wiring should happen repeatedly after the wired
object has been removed from the stage. | ConfigureTag | ||
targets : Array
The target objects to be wired to the Context. | ConfigureTag |
autoremove | property |
autoremove:Boolean
[write-only]
Indicates whether the target should be removed when the view is removed
from the stage. Only has an effect when no custom ViewLifecycle
has been set. The exact action to be performed when the view gets removed
from the stage is determined by the destroy
method of the
ViewProcessor
.
public function set autoremove(value:Boolean):void
configId | property |
public var configId:String
The id to use to lookup a matching configuration in the container. This parameter is optional, if omitted and the wired target instance is a DisplayObject its name will be used for id lookup. If there is no matching configuration for a particular id then the container matches by type. If that fails too, no container configuration will be used and only metadata on the target instance will be processed.
reuse | property |
reuse:Boolean
[write-only] Indicates whether the wiring should happen repeatedly after the wired object has been removed from the stage. When set to false it is only wired once. The default is false.
public function set reuse(value:Boolean):void
targets | property |
public var targets:Array
The target objects to be wired to the Context. If this property is not set explicitly then the document object this tag was placed upon will be the only object getting wired.