actionscript 3 - '[Inspectable]' metadata tag -


Anyone can interpret briefly about the [Inspectable] metadata tag. I could not read and understood in the live docs.

Please help me when we are going to use the [Inspectable] metadata tag?

Thanks, Ravi

Tags are used with properties so that The code can be found for the property and the possible list of values ​​can be specified. This property can take while using it in mxml, unlike the [bindable] metadata, this tag does not have much effect on the code (other than specifying a default value) - its use It is mainly used to give directions to Flex Builder with special property.

Define an attribute made aware by component users in the tag inspector of attribute signals and flex builders. Apart from this, limiting the acceptable values ​​of the property.

For example, the property of Vertical Cyrrol policy mx.core.Container class is [Inspectable] < / Code> Tag with it. ] Public function vertical scroll policy (): string {return _verticalScrollPolicy; }

This tells the Flex Builder that property inspector of Flex Builder (to open an MXML file) in the 'General' tab (this is the upper of the 'General' inspector tab in my FB On the side, near your title, you'll find a button to switch to standard view, choose the Windows menu and Flex properties to open the property inspector, see the category, and Alphabetical view). This property can take one of three values ​​to off , at , automatically and if none is specified, then it will automatically takes it as its default value.

I have not used this tag anytime and I believe that you will not use it as long as you do not have Flex API by a large audience than your colleagues (or more listeners). Writing) if you are perfectionist).


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -