Last active
December 29, 2015 08:19
-
-
Save k0t0vich/7642622 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package feathers.examples.mxml.data { | |
| import flash.events.EventDispatcher; | |
| [Bindable] | |
| public class Model extends EventDispatcher { | |
| public var label:String = "Some Value"; | |
| public var width:Number = 100; | |
| public var height:Number = 20; | |
| public function Model() { | |
| super(); | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <feathers:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" | |
| xmlns:feathers="feathers.controls.*" | |
| xmlns:screens="feathers.examples.mxml.screens.*" addedToStage="{button.model.label = 'XXXXX'}"> | |
| <screens:SampleButton id="button"> | |
| </screens:SampleButton> | |
| </feathers:Panel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment