@rbxts/number-spinner-typings
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -1,61 +0,5 @@ | ||
interface Digit { | ||
Duration: number; | ||
Value: number; | ||
Labels: ReadonlyArray<TextLabel>; | ||
readonly CanvasTween: ReadonlyArray<Tween>; | ||
} | ||
import { NumberSpinner } from './types' | ||
interface NumberSpinnerInstance extends TextLabel { | ||
readonly Text: string; | ||
readonly CommaLabels: ReadonlyArray<TextLabel>; | ||
readonly Digits: ReadonlyArray<Digit>; | ||
readonly Frame: Frame; | ||
/** | ||
* Default “$” | ||
* The string to show before the number | ||
*/ | ||
Prefix: string; | ||
/** | ||
* Default “” | ||
* The string to show after the number | ||
*/ | ||
Suffix: string; | ||
/** | ||
* Default 2 | ||
* The number of decimal places that will be displayed | ||
*/ | ||
Decimals: number; | ||
/** | ||
* Default 0.3 | ||
* The time it takes to spin the number | ||
*/ | ||
Duration: number; | ||
/** | ||
* Default false | ||
* Whether to insert commas in relevant places | ||
*/ | ||
Commas: boolean; | ||
Value: number; | ||
} | ||
interface NumberSpinner { | ||
/** | ||
* Creates a new Spinner object | ||
*/ | ||
new(): NumberSpinnerInstance; | ||
/** | ||
* Creates a new Spinner object with the properties of the given GuiObject | ||
*/ | ||
fromGuiObject(GuiObject: GuiObject): NumberSpinnerInstance; | ||
} | ||
declare const NumberSpinner: NumberSpinner; | ||
export = NumberSpinner; |
{ | ||
"name": "@rbxts/number-spinner-typings", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Boatbomber's number spinner module typings", | ||
@@ -5,0 +5,0 @@ "main": "out/init.lua", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51400
8
2