♻️ (bootsier): Renombra traits de extensión
Los traits con los que Bootsier añade métodos a componentes del núcleo pasan de `<Componente>Bootsier` a `<Componente>BsExt`. SelectBootsier se confundiría con componentes como SelectLanguage.
This commit is contained in:
parent
08d673b89d
commit
144127776d
14 changed files with 43 additions and 43 deletions
|
|
@ -45,7 +45,7 @@ const EXTRA_MENU_POSITION: &str = "bootsier.dropdown.menu_position";
|
|||
/// .with_item(bs::dropdown::Item::button(Lc::n("Sign out")));
|
||||
/// ```
|
||||
#[builder_impl]
|
||||
pub trait DropdownBootsier {
|
||||
pub trait DropdownBsExt {
|
||||
/// Indica si el botón del menú está integrado en un grupo de botones.
|
||||
fn with_button_grouped(self, grouped: bool) -> Self;
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ pub trait DropdownBootsier {
|
|||
}
|
||||
|
||||
#[builder_impl]
|
||||
impl DropdownBootsier for Dropdown {
|
||||
impl DropdownBsExt for Dropdown {
|
||||
fn with_button_grouped(mut self, grouped: bool) -> Self {
|
||||
self.alter_prop(PropsOp::set_extra(EXTRA_BUTTON_GROUPED, grouped));
|
||||
self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue