Sha256: 0594e4c5a84ce64678b49e84957066cf29601d54bed34aaf69a3e1cc5f821e52
Contents?: true
Size: 849 Bytes
Versions: 12
Compression:
Stored size: 849 Bytes
Contents
"This is a base class for Amber Enyo UI classes. We keep track of an optional sister kind in Enyo and typically an instance of it, or an instance without a kind, called ui. NOTE: Inheritance of ivars seems broken, I need to use #ui: in subclass to set it" Object subclass: #EnyoFriend instanceVariableNames: 'ui kind' category: 'EnyoAmber'! !EnyoFriend methodsFor: 'accessing'! ui ^ui ! ui: aUI ui := aUI ! dollar "Return the $ of ui for easy access to the components of the UI." <return this['@ui'].$> ! kind ^kind ! ! !EnyoFriend methodsFor: 'initializing'! initialize "We make sure our JS functions can be used transparently from Amber, at this moment we do not use it - trying to create Enyo kinds that are at the same time Amber classes failed for me." super initialize. <this.allowJavaScriptCalls = true> ! !
Version data entries
12 entries across 6 versions & 2 rubygems