Package Exports
- elliptical-string
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (elliptical-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
lacona-phrase-string
Lacona phrase for parsing strings. Ultimately, this is just a wrapper for the built-in <freetext /> phrase. However, this is a higher-level variant which is designed for accepting specific strings from a user.
In general, if an arbitrary string is an argument to a command, it should be a lacona-phrase-string. If it is simply a component of a higher-level argument (a component of a phone number, for example), it should be a freetext.
The advantage is that lacona-phrase-string can be extended.
Reference
String
Result
String - the string entered
props
argument:String- the text for the labeltrimmed:Boolean- do not accept strings that begin or end with whitespace. Defaults totrue.
For these props, please see docs for string
consumeAll:BooleansplitOn:String | RegExplimit:Integer