Hello, help me please. There is a sliding menu. Need to add it to the many views:
<Alloy> ... <Button onClick='showMenu' ... /> <View id='leftMenu' left='-60%' width='60%' ... > <View> ... <Alloy>, and controllers:
... function showMenu(){ ... } ...and *.tss
How can I avoid code duplication?