Introduce prefix to directive's inputs #66
Unanswered
florianjung79
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A lot of the directive's inputs have names that are very common and as such provoke naming conflicts with inputs of other directives or the component's inputs itself. Thus I would like to start a discussion about prefixing the directive's inputs with a prefix like 'tp'.
Examples:
[data] -> [tpData]
[isEnabled] -> [tpIsEnabled]
This would allow for a more straightforward naming and a reduction of potiential naming conflicts. As some inputs already have some sort of prefix (e.g. tippyHost and popperOptions) extending the concept to the other input would be benefitial on the long term.
I know that introducing the prefixes will result in breaking changes, but I think it'll be for good.
Anyone who would like to share their thoughts?
Beta Was this translation helpful? Give feedback.
All reactions