해결했습니다:
api.decoratePluginOutlet(
"below-site-header",
(elem, args) => {
const button = document.getElementById('vic-button');
console.log(button);
}
);
출력이 제가 원하는 것을 보여줍니다. 이제 요소를 조작할 수 있습니다!
해결했습니다:
api.decoratePluginOutlet(
"below-site-header",
(elem, args) => {
const button = document.getElementById('vic-button');
console.log(button);
}
);
출력이 제가 원하는 것을 보여줍니다. 이제 요소를 조작할 수 있습니다!