vcard4
Version:
An RFC 6350 compliant JavaScript library for generating and parsing version 4.0 vCards. Can also generate RFC 6351 compliant XML vCards and RFC 7095 compliant jCards. TypeScript type declarations are provided.
21 lines (18 loc) • 678 B
TypeScript
import { BaseParameter } from './BaseParameter.js';
import { IntegerType } from '../values/IntegerType.js';
import '../values/BaseValue.js';
/**
* Represents the "PREF" parameter
* Used to indicate that the corresponding instance of a property is preferred
* by the vCard author.
*/
declare class PrefParameter extends BaseParameter {
/**
* @param prefValue - an instance of `IntegerType` type whose value is an
* integer between 1 and 100 that quantifies the level of preference. Lower
* values correspond to a higher level of preference, with 1 being most
* preferred.
*/
constructor(prefValue: IntegerType);
}
export { PrefParameter };