We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85adee5 commit 3d28b25Copy full SHA for 3d28b25
README.md
@@ -0,0 +1,26 @@
1
+# LibFleeingButton-1.0
2
+LibFleeingButton is a revolutionary new lib that makes buttons flee from the cursor.
3
+
4
+## Usage
5
6
+```lua
7
+local button = CreateFrame("Button", nil, UIParent, "SharedGoldRedButtonTemplate");
8
+button:SetPoint("CENTER");
9
+button:SetText("Click for free Bitcoin!");
10
11
+local LibFleeingButton = LibStub:GetLibrary("LibFleeingButton-1.0");
12
13
+-- make button scared
14
+LibFleeingButton.MakeButtonFlee(button);
15
16
+-- reset button
17
+LibFleeingButton.ResetButton(button);
18
19
+-- temporarily suspend fleeing
20
+LibFleeingButton.PauseButtonFleeing(button);
21
22
+-- resume fleeing
23
+LibFleeingButton.ResumeButtonFleeing(button);
24
25
+-- profit???
26
+```
0 commit comments