Home > hls.js > Part > (constructor)

Part.(constructor)

Constructs a new instance of the Part class

Signature:

constructor(partAttrs: AttrList, frag: Fragment, baseurl: string, index: number, previous?: Part);

Parameters

Parameter Type Description
partAttrs AttrList
frag Fragment
baseurl string
index number
previous Part (Optional)