JSPM

data-field-string

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q23245F
  • License MIT

Package Exports

  • data-field-string

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (data-field-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

data-field-url

API

createStringField

Create a virtual-dom string data-field for use with data-ui.

Parameters

  • h function virtual-dom h function

  • properties Object an options object, including any properties you can pass to virtual-dom/h

    • properties.display Boolean true for display mode, default is false for input mode

    • properties.value String any string

  • value String any string

Examples

var createStringField = require('data-field-string')

createStringField(h, { onclick: function (e){} }, 'example string')

See also

  • data-fields – all data fields packaged together.
  • data-ui – a collection of modules for managing data.

License

MIT