Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stakes authored Aug 10, 2017
1 parent 75be6df commit 5534805
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ input = new InputModule.Input
placeholder: "Username" # Text visible before the user type
placeholderColor: "#fff" # Color of the placeholder text
text: "Some text" # Initial text in the input
textColor: "#000" # Color of the input text
type: "text" # Use any of the available HTML input types. Take into account that on the computer the same keyboard image will appear regarding the type used.
backgroundColor: "transparent" # e.g. "#ffffff" or "blue"
fontSize: 30 # Size in px
fontFamily: "-apple-system" # Font family for placeholder and input text
fontWeight: "500" # Font weight for placeholder and input text
lineHeight: 1 # Line height in em
padding: 10 # Padding in px, multiple values are also supported via string, e.g. "10 5 16 2"
autofocus: false # Change to true to enable autofocus
Expand Down

0 comments on commit 5534805

Please sign in to comment.