Coding Guidelines and standards for custom elements (ace-elements)

From AgileApps Support Wiki
Revision as of 07:59, 30 October 2019 by imported>Aeric
Guideline Description Example
Component naming standards All the custom tag has to be follow standard naming convention. Tag Name: All the custom tag name starts with the prefix ace-. (This is mark-up tag) tag name: Starting with '<ace-'

<ace-record-form></ace-record-form>, <ace-table-grid></ace-table-grid>, <ace-activity-history></ace-activity-history>, <ace-login></ace-login>.

Input/Attribute Names: Input or attribute should be on camel case inside the component and dash separated in tag name. tag name: Starting with '<ace-' <ace-record-form object-id="cases" record-id="456546654"></ace-record-form>,
Standard Attributes:

style related attribute : css-classlist Note: Input parameter will be cssClassList, and DOM Attribute will be css-classlist.