Skip to content

0.3.0

Compare
Choose a tag to compare
@jackmellis jackmellis released this 04 May 09:07
  • Access component instance's name with vm.$name (rather than vm.$options.name)
  • Access component's html content with vm.$html (rather than vm.$el.outerHTML)
  • vm.$find allows you to search a component's html for matching elements or component instances.
  • vm.$contains tests whether a component contains another component or a html element.
  • slots option lets you easily insert slot content into a component. This is the equivalent of manually inserting slots with the innerHTML property.
  • on option lets you add event listeners when creating a component.
  • stubFilters flag automatically stubs all known filters.
  • filters option allows you to stub/mock filters
  • vuenit.trigger method allows you trigger dom events.
  • vm.$create method creates a new instance of a component using the same options as before