UNPKG

pyro

Version:
10 lines (9 loc) 450 B
/** * Spreads attributes in array to element determined by selector on self/this * To be used in firstUpdated to pass attributes from pyro-element to selector child * * @param self - this of pyro element class * @param selector - selector as in querySelector(selector) * @param spreadableAttributes - html attributes to pass down */ export declare const spreadAttributes: (self: any, selector: string, spreadableAttributes: string[]) => void;