Skip to content

Framework7-react SmartSelect props el  #3902

@xiaomingyu-git

Description

@xiaomingyu-git

In smart-select with ts ,el props is required , like this .
el: HTMLElement | CSSSelector;
/** Link to initialized View instance which is required for Smart Select to work. By default, if not specified, it will be opened in parent View. */
But sometimes ,it is ok to use default value.
I think
el?: HTMLElement | CSSSelector;
is better.

Could anyone tell me ,what is "parent View " in last file ?
SearchPage.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions