New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nviewjs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nviewjs

View template engine.

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

MIT License

nviewjs - View template engine

any series   https://any-js.github.io/

Features

  • nviewjs. View template engine.

  • NvIn set input behaviors - method of input, validate and alter value.

  • NvOut set out behaviors - modify value.

  • NvAct provide statement in template.

  • NvMethod provide method in template.

Requirements

  • nviewjs requires jQuery and anyjs library.

Browser Support

  • Modern web-browsers(Chrome, IE, Firefox, Safari, Opera) support.
  • IE browser: Support IE9. Loose support in IE8. (You can use most of the functions.)
  • Legacy browser partially support.

Basic usage

$('#sample').nview().sync();
$('#sample').nview({act: false}, null, nvOut).sync();
$('#sample').nview({output: false});
$('#sample').nview({bindParse: false});
$('#sample').nview({}, null, {
  attach: { abc: function(v){return v * 3;} }
});
$('#sample').nview({}, nvIn, nvOut, nvMethod, nvAct, nvManager).sync();

Tutorials / Demos / Reference

There are many tutorials.

ReferenceTutorialDescription
jQuery.fn.nviewtutorial-basic.htmlApply to template.
$nviewtutorial-static-nv.htmlHelper methods.
NvIntutorial-input.htmlInput helper class for extending.
NvOuttutorial-output.htmlOutput helper class for extending.
NvActtutorial-act.htmlStatement helper class for extending.
NvMethodtutorial-method.htmlMethod helper class for extending.
--tutorial-value.html---
--tutorial-apply-noparse.html---
--tutorial-demo-various.html---

Distributions

For detail, see reference. In dist directory,

DistributionIntroduction
nview.js / nview.min.jsLibrary script.
nview.css / nview.min.cssOnly hide css.

Relation library(any-js series)

LibraryIntroductionRequirements
anyjsBasic methods and UI helper library.jQuery library
najaxjsSimple ajax library.None
nviewjsView template engine.jQuery library / anyjs

License

Released under the MIT license. See LICENSE.

ChangeLog

See CHANGELOG.

Keywords

any

FAQs

Package last updated on 30 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts