Skip to content

Function: defineRoller() ​

ts
function defineRoller(tag?): void;

Defined in: src/element.ts:150

Register the element, as <korokoro-roller> unless another tag is asked for. Safe to call more than once, and does nothing where there are no custom elements (on a server).

Parameters ​

tag? ​

string = ROLLER_TAG

Returns ​

void

MIT © John Morris