This commit is contained in:
NoryiE
2025-09-14 10:11:36 +00:00
parent 9c7186011b
commit 056b0ef795
32 changed files with 1 additions and 1314 deletions

View File

@@ -16,20 +16,8 @@ Extends: `BaseElement`
|Method|Returns|Description|
|---|---|---|
|[Timer.new](#timer-new)|table|Creates a new Timer instance|
|[Timer:init](#timer-init-props-basalt)|-|Initializes the Timer instance|
|[Timer:start](#timer-start-self)|Timer|Starts the timer|
|[Timer:stop](#timer-stop-self)|Timer|Stops the timer|
|[Timer:dispatchEvent](#timer-dispatchevent)|-|Dispatches events to the Timer instance|
## Timer.new()
### Returns
* `table` `self` The created instance
## Timer:init(props, basalt)
### Parameters
* `props` `table` The properties to initialize the element with
* `basalt` `table` The basalt instance
## Timer:start(self)
@@ -50,5 +38,3 @@ Stops the timer if it is currently running.
### Returns
* `Timer` `self` The Timer instance
## Timer:dispatchEvent()