Add scroll:bind_grid function

This commit is contained in:
Insality
2020-09-28 01:56:43 +03:00
parent c0bd3e599b
commit 0b1051b5b2
5 changed files with 67 additions and 28 deletions

View File

@@ -27,6 +27,8 @@ function M.subscribe(self, callback)
assert(type(callback) == "function", "Callback should be function")
table.insert(self._callbacks, callback)
return callback
end