No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Creating an Apex Model
You must use a Developer Edition
organization with a registered namespace.
- Click .
- Click .
- Enter a name for your model.
- Click OK.
- Add code to the model class.Remember to add the @AuraEnabled annotation for any getter that you want to access in markup or JavaScript.
- Click .
- Open the component that you want to wire to the new model class.
- Add a model system
attribute to the <aura:component> tag to wire the component to the model. For example:
1swfobject.registerObject("clippy.codeblock-0", "9");<aura:component model="myNamespace.MyApexModel" >