working on more stuff for the berry.ui library
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
local plugin = {}
|
||||
|
||||
function testAction()
|
||||
berry.ui.notify("I just ran the test action!")
|
||||
end
|
||||
|
||||
function plugin.init()
|
||||
berry.ui.notify(tostring(math.random(1,10)))
|
||||
berry.ui.createAction("test", testAction)
|
||||
berry.ui.addBind("test", "ctrl+d", "Test")
|
||||
end
|
||||
|
||||
return plugin
|
||||
Reference in New Issue
Block a user