Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required Classes in plugins #5

Open
bcinarli opened this issue Jul 14, 2015 · 0 comments
Open

Required Classes in plugins #5

bcinarli opened this issue Jul 14, 2015 · 0 comments

Comments

@bcinarli
Copy link
Member

For jQuery modules we need same classes for backward compatibility and styling.

Here are the list of the required classes. For the new factory we can rename the class prefix to ux or rocket

  • Ready Class : uxitd-*-ready where * indicates the plugin name. e.g. uxitd-clear-ready . This class should added to selected element on plugin binding.
  • Generic Wrapper Class: uxitd-plugin-wrap. This class is present to make sure, we wrap element only once when more than one Rocket plugins binded to it.
  • Plugin Wrapper Class: uxitd-*-wrap where * indicates the plugin name. e.g. uxitd-clear-wrap .
  • Icon Class: uxitd-*-icon. This class is used when plugin attach an icon to element.

Also there are other helper classes according to plugin needs. Make sure that, we can easily define a class namespace for each plugin and use them during development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant