Ora.start() now accepts same params as constructor;
This commit is contained in:
parent
13622b4ed7
commit
5f24ae865a
@ -18,7 +18,9 @@ export class Ora {
|
|||||||
this._oraObject.text = textArg;
|
this._oraObject.text = textArg;
|
||||||
};
|
};
|
||||||
|
|
||||||
start(){
|
start(textArg:string,colorArg:string){
|
||||||
|
this._oraObject.text = textArg;
|
||||||
|
this._oraObject.color = colorArg;
|
||||||
this._oraObject.start();
|
this._oraObject.start();
|
||||||
};
|
};
|
||||||
end(){
|
end(){
|
||||||
|
Loading…
Reference in New Issue
Block a user