Skip to content

Instantly share code, notes, and snippets.

View ralphievolt's full-sized avatar

ralph emerson ralphievolt

View GitHub Profile
@ralphievolt
ralphievolt / Clear React S-U
Last active December 8, 2016 00:55
Clear React Semantic-UI After Submit
Example here https://github.com/Semantic-Org/Semantic-UI-React/issues/797
class NameForm extends React.Component {
constructor(props) {
super(props);
this.state = {value: ''};
this.handleChange = this.handleChange.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
}
@ralphievolt
ralphievolt / React Semanitc UI render Table Cells
Created December 5, 2016 01:39
React Semanitc UI render Table.Cells
https://github.com/Semantic-Org/Semantic-UI-React/pull/567
@ralphievolt
ralphievolt / Simple-React-Form.txt
Last active November 26, 2016 08:35
How to get date from React Form very easily without depencency
const dataCat = {
type: 'null',
category: 'null',
subcategory: 'null'
}
<Form>
<Form.Select
label='Type'
name='type'
https://blog.risingstack.com/handling-react-forms-with-mobx-observables/
@ralphievolt
ralphievolt / CRON
Created January 19, 2015 06:02
Meteor Scheduler Using Cron
http://richsilv.github.io/meteor/scheduling-events-in-the-future-with-meteor/
@ralphievolt
ralphievolt / CSS
Created September 9, 2014 02:38
CSS Tutorial
This is a CSS tutorial link that make my jaw drops..as of now =)
http://tutorialzine.com/posts/
@ralphievolt
ralphievolt / Tips and Tricks
Created September 4, 2014 23:51
Tips and Tricks: what I learn from responsive bootstrapping
Problem:
I am testing out Bootstrap 3 responsiveness navbar and I have a demo website. When I resize the browser on a desktop, it all works fine including the nav bar which become collapsible menu with a small icon on the top which I can click to see more menu buttons.
But when I tried it from a mobile browser (I tried it on chrome and internet browser on an Android), I didn't see the responsive design. I could only see very small version of desktop like website.
Solution:
Add this to your HTML head..
<meta name="viewport" content="initial-scale=1">