Skip to content

Instantly share code, notes, and snippets.

View vigneshrajarr's full-sized avatar

Vignesh Raja vigneshrajarr

  • Zoho Corporation Private Limited
  • Chennai, TamilNadu, India
View GitHub Profile
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
charts: function(){
return [{id:1,values:[{id:1,values:[{id:1,isdisable:false}]}],isdisable:false},
{id:2,values:[{id:1,values:[{id:1,isdisable:false}]}],isdisable:false}]
}.property(),
obser:function(){
return "12";
@vigneshrajarr
vigneshrajarr / ComboBox.html
Last active May 24, 2019 17:01
Creating a combo box with select and input text box elements besides one another - for StackOverflow question - https://stackoverflow.com/questions/28910272/html-and-css-dropdown-box-with-textbox-beside-it
<html>
<head>
<title>Select and Input box Combo from Scratch</title>
<!--
A combo of select and input box built from scratch. Tested in Chrome, Firefox, Safari.
-->
<style>
*
{
box-sizing: border-box;
import Ember from 'ember';
export default Ember.Controller.extend({
data:function(){
return [{
"marks":90,
"totalmarks":100,
"percentage":90,
"status":"pass"
},
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
actions = {
hideModal:function(option)
{
if(option)
{
alert("Yes clicked.")