Class: TagAction

TagAction(options)

new TagAction(options)

TagAction
Parameters:
Name Type Description
options Object
Properties
Name Type Description
rules Object.<string, Object> Key is the name of the attribute
Properties
Name Type Description
type string Validatorを指定する
defaultValue string
required boolean
action TagAction~handler Called when the tag is ran
closeAction TagAction~handler Called when [/tag] is ran
exitScope function Called when the scope is exited, maybe called during [jump] tag or [/tag] tag.
Tutorials:

Type Definitions

handler(args) → {Tag.ActionResult}

Parameters:
Name Type Description
args object.<string, ?>
Returns:
Type
Tag.ActionResult