From 4ecbbbddb054f40f6f1cdf3851929eeee06a2e29 Mon Sep 17 00:00:00 2001 From: Thrunic Date: Fri, 8 Dec 2023 13:28:42 -0500 Subject: [PATCH] Replaced path.addClass(...) with path.setClass(...) in the example. --- markdown/dev/reference/api/path/setclass/en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/dev/reference/api/path/setclass/en.md b/markdown/dev/reference/api/path/setclass/en.md index 914bdb06d23..2152530f684 100644 --- a/markdown/dev/reference/api/path/setclass/en.md +++ b/markdown/dev/reference/api/path/setclass/en.md @@ -38,5 +38,5 @@ as the two following calls yield the same result: ```js path.attr('class', 'fabric', true) -path.addClass('fabric') +path.setClass('fabric') ```