Class JsPart
java.lang.Object
io.github.jeemv.springboot.vuejs.utilities.JsPart
JsPart
This class is part of springBoot-VueJS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddElements
(String... jsScripts) caseStatement
(String condition, String... jsScripts) catchStatement
(String variable, String... jsScripts) defaultStatement
(String... jsScripts) doWhileStatement
(String condition, String... jsScripts) elseIfStatement
(String condition, String... jsScripts) elseStatement
(String... jsScripts) finallyStatement
(String... jsScripts) forEachStatement
(String array, String... jsScripts) forEachStatement
(String array, String variable, String... jsScripts) forEachStatement
(String array, String variable, String index, String... jsScripts) forStatement
(String variable, String condition, String increment, String... jsScripts) ifStatement
(String condition, String... jsScripts) static JsPart
instance()
static JsPart
switchStatement
(String variable, String... jsScripts) toString()
tryStatement
(String... jsScripts) whileStatement
(String condition, String... jsScripts)
-
Constructor Details
-
JsPart
public JsPart() -
JsPart
-
-
Method Details
-
add
- Parameters:
jsScript
-- Returns:
-
addElements
- Parameters:
jsScripts
-- Returns:
-
set
-
let
-
constante
-
var
-
ifStatement
-
elseStatement
-
elseIfStatement
-
forStatement
-
whileStatement
-
doWhileStatement
-
switchStatement
-
caseStatement
-
defaultStatement
-
forEachStatement
-
forEachStatement
-
forEachStatement
-
tryStatement
-
catchStatement
-
finallyStatement
-
function
-
function
-
toString
-
instance
-
instance
-