Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Switch typeof height(?) #1

@Alynva

Description

@Alynva

Should it be width here?

switch (typeof height) {
case 'number':
width = width | 0;
style.width = width;
style.minWidth = width;
style.maxWidth = width;
break;
case 'string':
style.width = width;
break;
case 'undefined':
style.width = style.width ? style.width : '100%';
break;
default:
break;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions