Quantcast
Channel: frag (frăg)
Viewing all articles
Browse latest Browse all 40

Using overloadSetter / overloadGetter to make flexible functions in mootools

$
0
0
This is a really helpful feature of MooTools that a few people know and use. Basically, there is a pair of 2 Function prototypes called ‘overloadGetter‘ and ‘overloadSetter‘. They are very simple in what they can provide. Say, you have a function that is a private property setter in a Class that takes 2 arguments: [...]

Viewing all articles
Browse latest Browse all 40

Trending Articles