Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

titanium-vdom

appcelerator37Apache-2.00.4.4TypeScript support: included

A virtual DOM implementation for Titanium

titanium, vdom, virtual, dom

readme

Titanium Virtual DOM

Coverage Status

Virtual DOM abstraction which serves as the connecting piece to integrate Angular and Vue.js with Titanium.

Development guide

This project uses the karma-titanium-launcher to run unit tests. Simply run npm run test:unit to start Karma and test on an iOS simulator and Android emulator. Results will be shown in the app itself as well as reported to the console and coverage data gets written to the coverage directory.

For a rapid TDD setup you can use npm run test:dev and Karma will watch for any changes to the source and test files and schedule a new test run everytime. No coverage data will be written in this configuration.

Contributions

Open source contributions are greatly appreciated! If you have a bugfix, improvement or new feature, please create an issue first and submit a pull request against master.

Getting Help

This is a supporting library to integrate Angular and Vue.js with Titanium. If you have questions about this library in combination with either Angular or Vue.js, feel free to reach out on Stackoverflow or the corresponding channels #titanium-angular or titanium-vue on TiSlack. In case you find a bug related to this library, create a new issue or open a new JIRA ticket.

License

Apache License, Version 2.0

changelog

0.4.4 (2020-07-22)

Bug Fixes

  • store element class in metadata (2d805e3)

0.4.3 (2020-07-21)

Features

  • dedicated navigation window element (#51) (046e0fb)

0.4.2 (2020-07-20)

Bug Fixes

  • add missing NavigationWindow element (#49) (2c31d75)

0.4.1 (2020-07-14)

Bug Fixes

  • maintain element order when inserting into visual tree (3f16105)

0.4.0 (2020-07-08)

Bug Fixes

  • always use lowercase tag in outerHTML (76ac43a)
  • apply attributes with correct case and type during proxy creation (4abdf59)
  • avoid insertAt when inserting table view row children (13ae5eb)
  • do not throw if no visual element found (37c3c60)
  • exclude properties fromnumber conversion (7af8c23)
  • improve isNumeric test (7151dbc)
  • move buttonbar to ios only elements (169b817)
  • normalize tag name in getViewFactory (e8dfcd5)
  • set event handler on visual child (600c74f)
  • store tag name in upper case (380198f)
  • registry: update element properties (9f1609e)
  • project events to visual elements (8e8d808)
  • update library exports (b1c0f91)
  • update metadata for list and table view (744b253)
  • update text using property instead of setter (9715b32)
  • use cross-platform views (adb1ff2)
  • use hasAttribute to check for boolean attribute (281f26d)

Features

  • accessor for first visual child (fe494ba)
  • use built-in tag name normalization (0f752cc)
  • use namespaced attributes for platform handling (2e2d71d)

BREAKING CHANGES

  • setAttribute/removeAttribute don't accept a platform parameter anymore. Use setAttributeNS/removeAttributeNS to set platform specific attribute. The namesapce is treated as the platform filter.
  • Element tagName and nodeName are now always stored in upper case.
  • Removes custom naming strategies. Tag names will always be stores normalized and lookup automatically works for both camel case and kebab case

0.3.2 (2018-10-13)

0.3.1 (2018-10-13)

0.3.0 (2018-10-08)

0.2.0 (2018-09-20)

Bug Fixes

  • add missing elements and fix some metadata (#10) (960b13f)
  • improve api for platform scoped attributes (#8) (f4880da)
  • registry: move iOS only elements (#3) (bc74586)
  • registry: only print duplicate element warning in Titanium (#5) (37e92dc)
  • registry: proper type check Ti global (#7) (05198d0)
  • load all elements for AoT compilers (29678f8)

Features

0.1.0 (2018-06-30)

Bug Fixes

  • element: remove child from titanium views (1f6caaa)
  • ensure pre insertion validity (580c070)
  • lower generic type restriction to all proxies (766a008)
  • move some apis to comply with W3C spec (2320acb)
  • resolve circular dependency (b293ac3)

Features

  • element: add options to detach element tree from view hierarchy (#1) (8313cb3)
  • add titanium element registry (16f503d)