Closed tmorehouse closed 4 years ago
@tmorehouse not yet possible. Another thing to add to the spec. I should be able to see to all the problems tomorrow.
@tmorehouse What would you like to document about argument
? As far as I understand it could be string representing anything. Do you think about some pattern matching or HTML references, similarly to modifiers, or is it just about having a description?
Mainly the description for the argument (although pattern matching would be optionally good). In our case the argument part of the directive is typically an HTML Element ID.
Web-types schema has been updated.
Directives have the following syntax:
In the schema, I see that it is possible to define the directive's
name
,modifiers
and expression (value
), but there is no mention of theargument
(which follows the:
, before any modifiers)So how does one document the
argument
?