5litehtml::el_anchor::el_anchor(
const std::shared_ptr<litehtml::document>& doc) : html_tag(doc)
9litehtml::el_anchor::~el_anchor()
14void litehtml::el_anchor::on_click()
16 const tchar_t* href = get_attr(_t(
"href"));
20 get_document()->container()->on_anchor_click(href, shared_from_this());
24void litehtml::el_anchor::apply_stylesheet(
const litehtml::css& stylesheet )
26 if( get_attr(_t(
"href")) )
28 m_pseudo_classes.push_back(_t(
"link"));
30 html_tag::apply_stylesheet(stylesheet);