All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.flow.component.textfield.Autocapitalize Maven / Gradle / Ivy

There is a newer version: 24.4.12
Show newest version
/**
 * Copyright 2000-2024 Vaadin Ltd.
 *
 * This program is available under Vaadin Commercial License and Service Terms.
 *
 * See  {@literal }  for the full
 * license.
 */
package com.vaadin.flow.component.textfield;

/**
 * Capitalization options for the {@code autocapitalize} attribute.
 */
public enum Autocapitalize {

    /**
     * Completely disable automatic capitalization.
     */
    NONE("none"),

    /**
     * Automatically capitalize the first letter of sentences.
     */
    SENTENCES("sentences"),

    /**
     * Automatically capitalize the first letter of words.
     */
    WORDS("words"),

    /**
     * Automatically capitalize all characters.
     */
    CHARACTERS("characters");

    final String value;

    Autocapitalize(String value) {
        this.value = value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy