Skip to content

Required Classes in plugins #5

@bcinarli

Description

@bcinarli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions