Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: using createEl from obsidian api #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Quorafind
Copy link
Contributor

And use parent.empty() to remove all children in view-header-title-container

@Trikzon
Copy link
Owner

Trikzon commented Nov 3, 2022

Oh nice. I saw createEl() when making this, but couldn't find any documentation anywhere on the difference between createElement() and createEl() so I stuck with the one I know. Never considered it'd be a part of the Obsidian api

@Quorafind
Copy link
Contributor Author

createEl() is a way that recommended by Licat 👨‍💻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants