diff --git a/README.md b/README.md index 49ae7c5..08500c5 100644 --- a/README.md +++ b/README.md @@ -378,6 +378,10 @@ me().on("click", async event => { * Or, use a relative start. * ▶️ ` ` +#### Ignore call chain when element is missing. +* ▶️ `me("#i_dont_exist")?.classAdd('active')` +* Silence console warning: ▶️ `me("#i_dont_exist", document, false)?.classAdd('active')` + ## 🔌 Your own plugin Feel free to modify Surreal for a project any way you like- but you can use plugins to effortlessly merge functions with new versions.