parseAttribute
tw5-typed / modules/utils/parseutils / parseAttribute
Function: parseAttribute()
parseAttribute(
source,pos):object
Defined in: src/modules/utils/parseutils.d.ts:86
Look for an HTML attribute definition. Returns null if not found, otherwise returns an object.
Parameters
source
string
pos
number
Returns
object
end
end:
number
filter?
optionalfilter:string
name
name:
string
start
start:
number
textReference?
optionaltextReference:string
type
type:
"attribute"
value?
optionalvalue:string