Default Options

View default options. You do not need to modify anything within the password.min.js script. You can modify these options directly from the script call.

defaultSelectedLength: 10,
defaultLength: 20,
uppercase: true,
lowercase: true,
numbers: true,
symbols: true,
text: {
    length: "Password Length",
    uppercase: "Include uppercase letters",
    lowercase: "Include lowercase letters",
    numbers: "Include numbers",
    symbols: "Include symbols",
    button: "Generate Password",
    clipboardText: "Copied to clipboard"
},
theme: {
    backgroundColor: "#fff",
    color: "#333",
    border: "1px solid #c0c0c0",
    buttonColor: "#fff",
    buttonTextColor: "#333",
    buttonBorderColor: "#c0c0c0",
    lengthBackgroundColor: "#efefef",
    lengthColor: "#333",
    rangeColor: "#fff",
    rangeTextColor: "#333",
    rangeBorderColor: "#c0c0c0",
    resultsBackgroundColor: "#efefef",
    resultsColor: "#333",
    clipBoardColor: "#333",
    item: "#2196f3",
    itemBorder: "#2196f3"
}

Last updated

Was this helpful?