Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joutvhu/lightning-customize-cmp
https://github.com/joutvhu/lightning-customize-cmp
component javascript lightning salesforce
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/joutvhu/lightning-customize-cmp
- Owner: joutvhu
- Created: 2018-10-14T17:31:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-24T18:54:08.000Z (about 6 years ago)
- Last Synced: 2024-11-08T21:38:19.021Z (about 2 months ago)
- Topics: component, javascript, lightning, salesforce
- Language: JavaScript
- Size: 45.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lightning-customize-cmp
## Usage Antilocker
- Add following snippet to your component
```xml```
- Note: All operations with Antilocker need to wait to after the script loaded### Usage EventPublisher
- Get list events
```js
Antilocker.EventPublisher.events()
```- Publish events
```js
Antilocker.EventPublisher.publish('markup://force:navigateBack');
Antilocker.EventPublisher.publish('markup://one:back', ['refresh']);
Antilocker.EventPublisher.publish('markup://force:navigationChange', ['other', 'pageReference']);// Using events after public
$A.getEvt('force:navigateBack').fire();
var oneBack = $A.getEvt('one:back');
oneBack.setParams({ refresh : true });
oneBack.fire();
```