WoW:API ActionButtonUp: Difference between revisions

m
Move page script moved page API ActionButtonUp to WoW:API ActionButtonUp without leaving a redirect
mNo edit summary
m (Move page script moved page API ActionButtonUp to WoW:API ActionButtonUp without leaving a redirect)
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<center>'''ActionButtonUp''' ''-Documentation by AlexanderYoshi''</center>
{{protectedapi|2.0|}}
{{framexmlfunc|FrameXML/ActionButton.lua}}


Release the specified action button.
ActionButtonUp(buttonID [, onSelf]);


ActionButtonUp(buttonID, onSelf);
Releases the specified action button.


----
==Parameters==
;''Arguments''
===Arguments===
:(Number buttonID [,onSelf])


:(Number buttonID)
:;buttonID : The button ID of the button to release (Integers from 1 to 12)
 
:;onSelf : if evaluates to true, casts on yourself no matter the target (See [[API CastSpellByName]])
:;buttonID : The button ID of the button to release
 
:(??? onSelf)
 
:;onSelf : ???
----
;''Returns''


===Returns===
:;nil
:;nil


----
==Example==
;''Example''
  ActionButtonUp(1);
  ActionButtonUp(1);


;''Result''
===Result===
:#Checks if BonusActionBarFrame is Visible.
:#Checks if BonusActionBarFrame is Visible.
:#On True -
:#On True -
Line 49: Line 44:
:###Changes Button 1's SetChecked value to 1.
:###Changes Button 1's SetChecked value to 1.


----
==Description==
;''Description''
:Changes buttonID's state to NORMAL.
:Changes buttonID's state to NORMAL.
:<I>NOTE:</I> Works with ActionBarFrame & BonusActionBarFrame.
:''NOTE:'' Works with ActionBarFrame & BonusActionBarFrame.
 
----
{{Template:WoW API}}
[[Category:API Functions|ActionButtonUp]]
[[Category:API Action Functions|ActionButtonUp]]
Anonymous user