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

Unify directive names and selectors #155

Open
KuhnMichael opened this issue Jan 25, 2021 · 0 comments
Open

Unify directive names and selectors #155

KuhnMichael opened this issue Jan 25, 2021 · 0 comments
Labels
breaking change enhancement New feature or request refactoring cleanup code and remove obsolete functionality

Comments

@KuhnMichael
Copy link
Contributor

KuhnMichael commented Jan 25, 2021

Mabye a convention like this would be nice:

Always Ps | ps- prefix, then:
*-Directives => TemplateSuffix
tag-Directives => No Suffix
Button-Directives => **ActionTemplate

List of all current Directives:
PsCardTopButtonSection
PsCardCaptionSection
PsCardDescriptionSection
PsCardFooterSection
PsCardActionsSection

PsHeaderTopButtonSection
PsHeaderCaptionSection
PsHeaderDescriptionSection

FlipContainerFront
FlipContainerBack

PsTableColumnTemplate
PsTableColumnHeaderTemplate
PsTableColumn
PsTableTopButtonSection
PsTableListActions
PsTableRowActions
PsTableCustomHeader
PsTableCustomSettings
PsTableRowDetailTemplate
PsTableRowDetail

PsSelectTriggerTemplate
PsSelectOptionTemplate

@KuhnMichael KuhnMichael added enhancement New feature or request refactoring cleanup code and remove obsolete functionality breaking change labels Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request refactoring cleanup code and remove obsolete functionality
Projects
None yet
Development

No branches or pull requests

1 participant