$viewBag
Enables a controller to push
and pull
data in and out of its template. While pushing, $viewBag
will only care about the values within the object passed.
Using it
For the given HTML:
And this JS:
stik;
Enables a controller to push
and pull
data in and out of its template. While pushing, $viewBag
will only care about the values within the object passed.
For the given HTML:
And this JS:
stik;
npm i stik-view-bag
0
0.3.0
MIT