Skip to content

obsidian/setting-components/password-component

Contains a component that allows the user to enter a password.

ClassDescription
PasswordComponentA component that allows the user to enter a password. You can add this component using SettingEx.addPassword. In order to add the styles for the component, use initPluginContext in your plugin’s onload() function. Alternatively, you can copy styles from https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css.