
com.axellience.vueroutergwt.client.RouterMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vue-router-gwt Show documentation
Show all versions of vue-router-gwt Show documentation
Vue Router JsInterop classes to be used with Vue GWT.
The newest version!
package com.axellience.vueroutergwt.client;
/**
* @author Adrien Baron
*/
public enum RouterMode {
HASH("hash"), HISTORY("history"), ABSTRACT("abstract");
String value;
RouterMode(String value) {
this.value = value;
}
public String getValue() {
return value;
}
public static RouterMode fromValue(String value) {
if ("hash".equals(value)) {
return RouterMode.HASH;
}
if ("history".equals(value)) {
return RouterMode.HISTORY;
}
if ("abstract".equals(value)) {
return RouterMode.ABSTRACT;
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy