Function: web-mode-element-tag-name
web-mode-element-tag-name is a natively compiled function defined in
web-mode.el.
Signature
(web-mode-element-tag-name &optional POS)
Source Code
;; Defined in /nix/store/2qgnz1rp30nzfz6w0apx4kdm14if1bbs-emacs-packages-deps/share/emacs/site-lisp/elpa/web-mode-20260831.219/web-mode.el
(defun web-mode-element-tag-name (&optional pos)
(unless pos (setq pos (point)))
(save-excursion
(goto-char pos)
(if (and (web-mode-tag-beginning)
(looking-at web-mode-tag-regexp))
(match-string-no-properties 1)
nil)))