Layout.hx 451 B

123456789101112131415161718192021
  1. package golden;
  2. @:native("GoldenLayout")
  3. extern class Layout {
  4. var root : ContentItem;
  5. var selectedItem : ContentItem;
  6. var isInitialised : Bool;
  7. var config : Config;
  8. function new( config : Config ) : Void;
  9. function init() : Void;
  10. function destroy() : Void;
  11. function registerComponent( name : String, callb : Container -> Dynamic -> Void ) : Void;
  12. function on( event : String, f : Void -> Void ) : Void;
  13. function toConfig() : Config;
  14. }