|
Feature request: tag default value (constant)
|
|
10-04-2017, 22:16
Post: #6
|
|||
|
|||
|
RE: Feature request: tag default value (constant)
The options in the tagValue property are processed in order of appearance, so it would be possible to specify:
Mytag.default={OtherTag}, Mytag.default="my default string" This would apply the OtherTag value as the default if OtherTag is present in the file and would apply "my default string" as the default value if no OtherTag value was applied. The reverse order would also be also valid: Mytag.default="my default string", Mytag.default={OtherTag} but this is not useful because it would just be equivalent to: Mytag.default="my default string" Although this works, I think your suggestion of using a different option name for a string value might be clearer and for this I think the option name defaultValue would be a good choice. I don't understand your reference to "a string with hyphens". The string could contain any characters. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



