Skip to content

Instantly share code, notes, and snippets.

View binaryLady's full-sized avatar
✌️

Sonia Cook-Broen binaryLady

✌️
View GitHub Profile
@brianmfear
brianmfear / PagingSortingController.cls
Last active October 18, 2023 13:48
Lightning Paging and Sorting Demo
global class PagingSortingController {
@AuraEnabled global static Account[] getAccounts() {
return [SELECT Name, Industry, AnnualRevenue FROM Account LIMIT 1000];
}
}
@joshbirk
joshbirk / SpeedTest Apex Controller
Last active March 29, 2019 20:04
Lightning Chart Component w/ D3.js
public with sharing class SpeedTestController {
@AuraEnabled
public static List< SpeedTest__c > getData() {
List<SpeedTest__c> speeds = [SELECT ID, TimeString__c,Download__c,Upload__c from SpeedTest__c LIMIT 1000];
return speeds;
}
}