This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
init : function(component, event, helper) { | |
var recarr = []; | |
for(var i =1 ; i < 6 ; i++) | |
recarr.push(i); | |
component.set("v.allvalues",recarr); | |
}, | |
add : function(component, event, helper) { | |
var recarr = component.get("v.allvalues"); | |
var selval = component.get("v.selectedValue"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component > | |
<aura:attribute name="allvalues" type="List" /> | |
<aura:attribute name="selValues" type="List" /> | |
<aura:attribute name="selectedValue" type="String"/> | |
<aura:attribute name="unselectedValue" type="String"/> | |
<aura:handler name="init" value="this" action="{!c.init}" /> | |
<div class="slds-page-header"> | |
<div class="slds-media"> | |
<div class="slds-media__figure"> | |
NewerOlder