| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 2x | import IAttributeLike from './IAttributeLike';
class AttributeLike implements IAttributeLike {
readonly name: string;
readonly localName: string;
readonly value: string;
readonly prefix: null = null;
constructor(name: string, value?: string) {
this.name = name;
this.localName = name;
this.value = value || '';
}
specified(): true { return true; }
}
export default AttributeLike; |