Skip to content

Commit 387415e

Browse files
tiny fix
1 parent 85b4241 commit 387415e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/index.mjs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ class TinyDices {
346346
* For security reasons, only `data:` URLs are accepted by default to avoid external resource injection.
347347
* You can override this restriction using the `forceUnsafe` flag, but this is discouraged unless trusted.
348348
*
349-
* @public
350349
* @param {string|null} value - The background-image URL (must be a `data:` image by default).
351350
* @param {boolean} [forceUnsafe=false] - Allows setting non-data URLs if true (use with caution).
352351
*/
@@ -358,7 +357,6 @@ class TinyDices {
358357
/**
359358
* Returns the currently set background image if valid, or null.
360359
*
361-
* @public
362360
* @returns {string|null} - The current background-image value (data:image URL) or null if none is set.
363361
*/
364362
getBgImg() {
@@ -429,7 +427,6 @@ class TinyDices {
429427
* Accepts valid CSS color strings or `linear-gradient(...)`.
430428
* Invalid values reset the skin to `null`.
431429
*
432-
* @public
433430
* @param {string} skin - The CSS background to apply when a die is selected.
434431
*/
435432
setSelectionBgSkin(skin) {
@@ -449,7 +446,6 @@ class TinyDices {
449446
* Gets the background skin used for selected dice.
450447
* Returns the custom value if set; otherwise, returns the default.
451448
*
452-
* @public
453449
* @returns {string|null} The current background skin for selected dice.
454450
*/
455451
getSelectionBgSkin() {
@@ -461,7 +457,6 @@ class TinyDices {
461457
* Only valid CSS color values are accepted.
462458
* Invalid inputs will reset the color to `null`.
463459
*
464-
* @public
465460
* @param {string} skin - The text color for selected dice.
466461
*/
467462
setSelectionTextSkin(skin) {
@@ -472,7 +467,6 @@ class TinyDices {
472467
* Gets the text color used for selected dice.
473468
* Returns the custom value if set; otherwise, returns the default.
474469
*
475-
* @public
476470
* @returns {string|null} The current text color for selected dice.
477471
*/
478472
getSelectionTextSkin() {
@@ -522,7 +516,6 @@ class TinyDices {
522516
* Iterates through each dice in `this.#elements` and applies the active
523517
* background, text color, border, and background image styles using `#updateDiceFaceSkin`.
524518
*
525-
* @public
526519
*/
527520
updateDicesSkin() {
528521
for (const index in this.#elements) this.updateDiceSkin(index);

0 commit comments

Comments
 (0)