Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 866 Bytes

adding-new-component.md

File metadata and controls

28 lines (25 loc) · 866 Bytes

Adding New Component (enFrappe)

  • Add entry in UIItemTypes
  • Add DefaultComponentData
  • Create css file % ITERATE
  • Create static element % ITERATE
  • Add element to ComponentCompatibility
  • Load static element in toolbar
  • Create UI data manager
  • Add data manager to componentmanager
  • Handle DnDSpace drop addition
  • Create dynamic element generator
  • Create dynamic element
  • Add id and class to each dynamic element child
  • Add selection of ui element in app.js
  • Create UI element properties
  • Load properties
  • Test Prototype Component
  • Create live component
  • Add live component loader in simulation/section areas

Adding New Component (frappe Android)

  • Create component model
  • Integrate component model in AppModel
  • Create component ui layout
  • Create component ui inflater
  • Integrate component inflater in appropriate parent component's inflater