Skip to content

Commit

Permalink
chore: add console warn to favor cssStyler not deprecated styler
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Nov 7, 2023
1 parent 7eeeab1 commit 05a020e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/utils/domUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export function applyParsedStyleToElement(elm: HTMLElement, styleStr: string) {
(elm as any).style[toCamelCase(styleProp)] = styleVal.trim();
}
}

console.warn(
'[multiple-select-vanilla] Please note that `styler` is deprecated, please migrate to `cssStyler` when possible.'
);
}
}

Expand Down

0 comments on commit 05a020e

Please sign in to comment.