Removed private method example as it's not implemented yet

This commit is contained in:
WerWolv 2022-04-03 20:45:43 +02:00 committed by GitHub
parent a2e71ae121
commit 26fb6afd97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -9,9 +9,6 @@ class Plugin:
# The HTML that will be used to display a widget in the plugin main page
tile_view_html = ""
# A private method. Any method that gets prefixed by a double underscore (__) will not be callable from JavaScript
async def __private_method(*args):
pass
# A normal method. It can be called from JavaScript using call_plugin_function("method_1", argument1, argument2)
async def method_1(*args):