Skip to content

Commit f0b6adc

Browse files
committed
Add some minimal documentation about method support
1 parent 7da52e5 commit f0b6adc

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ in the [Wikibase Lexeme extension](https://www.mediawiki.org/wiki/Extension:Wiki
77
It intentionally covers only a subset of Vue Template syntax that is used by the Wikibase
88
Lexeme extension. It is not going to cover all elements of Vue Template language.
99

10+
## Migration notes
11+
12+
For the purpose of migrating to Vue 3, very basic support for the method syntax was added as an alternative to filters.
13+
In order to keep the interface stable, method callbacks should also be provided as the third parameter when calling
14+
`Templating::render()`.
15+
1016
## Installation
1117

1218
The recommended way of installing the library is using [Composer](https://getcomposer.org),

src/FilterExpressionParsing/FilterCall.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace WMDE\VueJsTemplating\FilterExpressionParsing;
44

5+
/**
6+
* This represents both calls to a filter and calls to a method.
7+
*/
58
class FilterCall {
69

710
/**

0 commit comments

Comments
 (0)