The Component Library is the Lightning components developer reference. Rapidly develop apps with our responsive, reusable building blocks.
component library component library the lightning component library is your hub for lightning ui developer information, including the component reference with live examples, the lightning web components developer guide, and lightning locker tools. you can find the component library in two places: a ...
LWC (Lightning Web Component) 是salesforce平台推出的最新 Lightning 前端开发组件。LWC 有多新?LWC 将会在 salesforce 平台2019年春季版正式上线。 LWC 有多重要?想想 LWC是做什么的就能知道了。LWC是用来构建 Lightning 组件的,而Lightning 前端展现无疑是 salesforce 的界面标准,很快也会是唯一标准。(再见 class...
lightning-record-view-form 组件和 lightning-output-field 组件结合可以显示记录信息,比如: <lightning-record-view-formrecord-id={accountId}object-api-name="Account"><lightning-output-fieldfield-name="Name"></lightning-output-field><lightning-output-fieldfield-name="Phone"></lightning-output-field></...
1.Lightning Componentの開発 lightningComponentForMitocoSample.cmp 代码语言:javascript 复制 <aura:component access="GLOBAL"extends="TSMNTCLB:CAL_EventItemBase"><aura:handler name="change"value="{!v.eventData}"action="{!c.onChangeEventData}"/><aura:attribute access="public"name="dataString"type=...
用于Lightning Pages和Lightning App Builder 可以在Lightning app builder中显示组件属性,管理员可以配置该组件参数及功能,对user不可见 为属性指定一些值...
点击JavaScript API, 切换到 Component,可以查看到 Aura提供的所有的方法,常用的部分方法描述如下: 1. set (String key, Object value):此方法最为常见了,对 attribute 设置值的引用。 eg: component.set("v.testAttribute","hello lightning") : 此赋值逻辑代表 对 testAttribute 这个attribute 赋值,内容为“hel...
点击JavaScriptAPI, 切换到 Component,可以查看到 Aura提供的所有的方法,常用的部分方法描述如下: 1. set (String key, Object value):此方法最为常见了,对 attribute 设置值的引用。 eg: component.set("v.testAttribute","hello lightning") : 此赋值逻辑代表 对 testAttribute 这个attribute 赋值,内容为“hello...
Salesforce Lightning Component开发小试牛刀 1 先说明几点 component中的Controller 是绑定后台与之交互的Apex类,该类的方法上需要有@AuraEnabled注解。handler是在组件加载中回调的一个方法 action表示的是调用组件中Controller.JS文件当中的哪一个方法。这样说可能太抽象,具体看代码。component文件代码: <aura:component...
Lightning Component Open-source Aura Framework Browser Support Considerations for Lightning Component Using Developer Console Creating a Component for Lightning Experience and Salesforce Mobile App Loading Contacts Firing Events Conclusion Introduction In this Salesforce tutorial, you will learn all the basics...